ENH: replacing git command