DNS only translates names into IP addresses and is oblivious to any port numbers. 

However, you can use Apache as a reverse proxy to make the content accessible at `git.domain.com` by editing the virtual host file. I believe [this][1] answer on Server Fault shows one method of how to do this that should work well for you.


  [1]: http://serverfault.com/a/85115/191794