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