Committing to a detached head is risky because if you change branches you'll need to use reflog to retrieve it. However a branch name can be added at any time
Git branch foo
For further actions, you may consider blocking this person and/or reporting abuse
We're a place where coders share, stay up-to-date and grow their careers.
Having master on my local helps me to fix merge conflict which requires manual intervention.
How would you resolve a merge conflict using origin/master? Seems scary to me. I've always done it manually like @firoz states.
Committing to a detached head is risky because if you change branches you'll need to use reflog to retrieve it. However a branch name can be added at any time
Git branch foo