add some git functions (find branch/tag/commit)

perhaps useful