Add git command, preserve docstrings of decorated functions