how to checkout specific file from another branch git code example Example: checkout file from another branch git checkout master -- myplugin.js