memo how to use git2