knotserver/git: add GitRepo.Refresh
after running a command externally that updates the git index, we need
to refresh go-git's repr of the git repo. remember to run this after
running something like `git am`.
Signed-off-by: oppiliappan <me@oppi.li>
authored by