Simplify Makefile by replacing git checkout with git show