Really, if you need to deal with repos and version control and such on your iOS device, do yourself a favour and buy the amazing Working Copy app.