Test git commands - code cleanup