Sets the permissions of backup directory to git