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.
Hello! My name is Mark Askew and I am a Premier Support Engineer for products Bitbucket Server/Data Center, Fisheye & Crucible. Today, I want to bring the discussion that Jennifer, Matt, and ...
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
You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs