snippets func cleanup, new git func