Would it be possible to set up a VPN using tinc as the VPN software on Ubuntu or Windows 7, and then connect from a computer (from outside the local network) to the computer hosting the VPN, in order to interact with a Git repository hosted on the VPN computer?
