Add new api

Conflicts:
	src/git.js