Change commit date

$ git rebase -i HEAD~3
 
In editor mark commit that need change as 'edit' (the second commit in example below)
 
pick 64b0966 commit message 1...
edit 07f540b commit message 2...
pick a2b69e4 commit message 3...
 
# Rebase 50d9975..a2b69e4 onto 50d9975 (3 command(s))
#
# Commands:
# p, pick = use commit
# r, reword = use commit, but edit the commit message
# e, edit = use commit, but stop for amending
# s, squash = use commit, but meld into previous commit
# f, fixup = like "squash", but discard this commit's log message
# x, exec = run command (the rest of the line) using shell
# d, drop = remove commit
#
 
After save in editor, type command similar to below:
$ GIT_COMMITTER_DATE="2021-09-13T15:03:13" git commit --amend --date="2021-09-13T15:03:13" --no-edit
 
[detached HEAD cd5480d] commit message 2
 Date: Mon Sep 13 15:03:13 2021 +0200
 1 file changed, 3 insertions(+), 1 deletion(-)
 
$ git rebase --continue
Successfully rebased and updated detached HEAD.