Fixed functions. Also had to run 'sudo chown -R chris:staff *' on '.git/objects' for some reason