Using Finder to copy files by value instead of the files' reference

Solution 1:

The git-checkout command is used to "checkout" files into your current branch from another branch. This would be safest since it would all remain in version control:

git checkout <branch_name> -- <paths>

Example,

git checkout develop
git checkout master
git checkout develop -- myfile.js

would checkout myfile.js from develop into master so you can commit it when ready.