How do I copy a version of a single file from one Git branch to another? - Stack Overflow … #!/usr/bin/env bash