Is there a way to configure Git/Github to prompt with a warning message upon this scenario:
$> git branch
$> *my_special_branch
$> git commit -am "I am about to make a grave error"
$> git push origin master
basically I want to prevent myself and my team from pushing to a different remote branch than the current one I am on without a warning or confirmation prompt...
so basically I want to prevent pushing to the remote master branch from any branch but a local master branch...