get hash last commit of file for git repository