Gh368 git repo node

you work only with entry.getValue(); why not iterate on local.values() instead?
rename local => refs
use RefDatabase.ALL for ""

if found commit, no need to iterate further, so stop