Now we get the git hash from inspecting the .git directory instead of executing the git command