.git-extensions Extension functions for git If you run ./copy, you will get access denied. Run chmod +x copy to give the file executable permission. On the other hand, you could run it like sh ./copy