git rebase -i: add static check for commands and SHA-1