Create Git method to get last git commit's full ID