separated out git commands into two execute processes