You can also run git on postgres - https://github.com/usecontextlayer/pggit

Oh this is exactly what I need, fantastic! Thanks for sharing.