Git show exclude folder git show [commit id] . ':!some/path' Git shows the changes in the commit specified by commit idin the current path specified by . and not in the some/path folder.