knotserver/git: refactor FindMainBranch to use `git rev-parse`
Signed-off-by: oppiliappan <me@oppi.li>
oppi.li 8 months ago 19a0c4cb 0950f59c