adding push command
Translated to Python.
Added unit tests.
added git support