Added some more git functions and allowed the python server to accept a port