git checkout only one file from another branch code example Example: checkout file from another branch git checkout master -- myplugin.js