git pull and marge the code code example
Example 1: how to pull from a branch in git
git pull origin other-branch
Example 2: git pull
git checkout new_feature
git pull <remote repo>
git pull origin other-branch
git checkout new_feature
git pull <remote repo>