Re-organise to use a bare repo, e.g. https://www.atlassian.com/git/tutorials/dotfiles.
See https://superuser.com/a/613817