Added support for finding branch which contains a commit