Shell snippets for git