I accidentally made some commit on repository with different author name.
Can we change last commit author name on Bitbucket commit history?
Note: I am using git (TortoiseGit) and Bitbucket.
Bitbucket does not support that, but you can do it locally in your GIT GUI of choice.
For the very last commit this is quite easy. Open the Commit Dialog locally, select "Amend", check "Set author" and then commit and force push.
If the commit is older, you need to rebase. Checkout the branch the commit is on and then right click on the commit before the one you want to change in the log dialog and select "Rebase onto". In the rebase dialog, check force and mark the commit you want to change as "Edit" and start the rebasing process. When the commit is processed, select "Edit/add commit" and update the author name.