git set date of commit code example
Example 1: make a commit with past date
git commit --amend --date="YYYY-MM-DD HH:MM:SS"
Example 2: git change git commit date
Set GIT_COMMITTER_DATE="Wed Sep 23 9:40 2015 +0200" git commit --amend --date "Wed Sep 23 9:40 2015 +0200"