How to get Git diff of the first commit?
<p>I created a repo, created a file inside it, put some content in the file, and committed the file. Now, I'd like to see a diff of that commit, which should ideally show the file that was added and the lines that were added to it.</p>

<p>However, <code>git diff HEAD^ HEAD</code> returns <code>fatal: ambiguous argument 'HEAD^': unknown revision or path not in the working tree.</code>, probably because this was the first commit to the repo.</p>

<p>How can this be resolved? Is there still a way to view a diff of the files that were added in the first commit?</p>