If you would like to save a copy of an older version of a file to make it easy to compare in any editor, you do this with git show:
git show branchname:path > newfilename example: git show crazyoldidea:lib/foo.php > lib/foo-old.php