git pull a commit code example
Example 1: git pull from commit
git merge <commit_id>
Example 2: how to do a pull request with one commit
git fetch origin
git checkout -b add-log-component origin/add-log-component
git checkout master
git cherry-pick COMMIT-HASH-HERE
git push origin master