Github is the new open source game changer in application development. You can host your code on GitHub and do amazing things including branching, ...
For further actions, you may consider blocking this person and/or reporting abuse
git push -fin beginners guide?! I am pretty sure, that is not something what people should learn at the beginning if everHi that -f for the forced push otherwise it can be used simple as "git push origin master"
You shouldn't be telling beginners to use force at all.
Thanks I've updated the command.
The PHP code for the GitHub webhook is insecure. Anyone can all it any number of times and bring down your site.
After you've setup the webhook please read developer.github.com/webhooks/secu... and secure your webhook with a secret!
I would also rename github.php to a .php so it's not guessable by attackers, for example using textmechanic.com/text-tools/random... to come up with a filename.
It's quite sad that I could not easily find a gist with a recommended example.
You could use github.com/adnanh/webhook