Enabled this script to be usable even when the user is not 'git'

GitHub functions under the assumption that the repos are always managed by the system user **git**, whereas there are some repos (not hosted on GitHub) that don't respect this convention. I've added a workaround for those cases.

Also, turned the shebang to Bourne from Bash as not every system has Bash installed by default.