Find when a file was created in a Git repository
Use the following command if you want to find when a file was created in a Git repository while also following any renames:
$ git log --follow --diff-filter=A -- <filepath>
Credit goes to an answer on StackOverflow for this solution.