fix git.current() to return only commit