git checkotu branch file othe name code example Example: checkout file from another branch git checkout master -- myplugin.js