git pull repository with all commits code example Example: git pull git checkout new_feature git pull <remote repo>