I assume you are using Git.
Here's how Git works. When you "clone" a repository from a remote (such as bitbucket or github), you get a copy of the entire repository on your local machine. If your access to that remote is revoked - the local repository doesn't care. You've successfully prevented him from sabotaging your code, but there is nothing you can do technologically to prevent him from "stealing" code he previously had access to.
As far as legal recourse, you should consult a lawyer in your jurisdiction.
As a project manager, I have discovered that different developers want to bring their previous branching method with them when they join the team. Some developers are used to performing individual wo...
Connect with like-minded Atlassian users at free events near you!Find a group
Connect with like-minded Atlassian users at free events near you!
Unfortunately there are no AUG chapters near you at the moment.Start an AUG