I have been trying to grab a file from an alternate git branch and copy the file onto the current branch under a new specified name.
I have found how to copy the a file from an alternate branch on to the current branch utilizing git checkout source_branch <paths> as specified here but I have been unable to identify how to specify a new file name?
You are able to use the command
git show commitish:path > newpath. Thecommitishhere can be a branch name as usual.