> @hferentschik Last git question I promise :-(

No problem, keep asking. We all went through same process when switching from svn to git and now none of us would go back. Some of the git commands are not really intuitive. 

> I'm tested your script, it works, but the push is been rejected and asking for a merge.

Right, that's because your remote branch (the one on GitHub - https://github.com/victor-rds/hibernate-validator/tree/HV-808) and your local branch have diverged due to the rebase. Provided you are happy with your local branch (you can for example use 'git log [-p]' to verify that you have the right history) you can do forced push to the remote repo:

    > git push -f my-fork HV-808

This will override your GitHub branch with your local branch.

> Before I do that let just ask your opinion: Do you think it would be wise that I just revert back to my commit before the unwanted merge, branch and rebase from there and up? Yes I will have to rewrite but with local backup is easy and will clean all the mess I done to repo history

I don't think that is required. If you followed the steps above things should be sorted out locally.