Fixed permissions, removed debug print, and fixed gitRemoteAdd()