A very effective solution for that is a well-configured shell. IF you summarize the state of the repo in the prompt, it is always visible while typing a command.
Completely reasonable if you do on your local branch, or if you have a convention that remote branches starting with your name or something are yours only.
If you rewrite history on master… well… completely unreasonable.