I am curious about how to remove the first commit in git.
What is the revision before committing any thing? Does this revision have a name or tag?
You might just want to edit your first commit (as there is always a first commit in a git repo). Consider using git commit --amend --reset-author instead of the usual git commit --amend.
git commit --amend --reset-author
git commit --amend