Gh394 git history review

#394 
node.getPropertyValue(GitConstants.ID) is called twice
put it in a local var