git copy all files from another branch code example
Example 1: copy files from another branch git
# git checkout <branch> <path>
$ git checkout other_branch world.txt
Example 2: copy files from another branch git
$ git checkout master
# git checkout <branch> <path>
$ git checkout other_branch world.txt
$ git checkout master