You can just change the ownership. This is preferable:
$ sudo chown -R git-user:git-group /path/to
Or, add yourself to the group that currently owns it:
$ sudo usermod -a -G owner-group user
And if that doesn't work, just loosen up the permissions a bit:
$ sudo find /path/to/ -type f -exec chmod 664 {} + && sudo find /path/to/ -type d -exec chmod 775 {} +
FYI: the digits represent Owner Group Other - thus -
664
means the Owner and Group can read + write, while other can only read.
Such permissions are useful for when you have a group working on a file system.
If you are the only person, then that first command should do the trick just fine -