pull form a commit code example Example 1: git pull from commit git merge <commit_id> Example 2: git pull from previous commit git checkout -b old-state 0d1d7fc32