Yesterday my boss fired me (I'm still in for one or two days) because of a pretty heated discussion that involved management steps and ideas. We are very far into the beta development stages. I programmed the project components, assisted by two designers. The working group is managed in sort of an Indie environment that reminds of a start-up. We are people from all over the world that work for an hourly wage.
But because I now have to leave the project repository where all my written source code is stored, I get the feeling that there won't be any credit for me (I wrote about 2000 lines of code for the project, mostly stuff that's finished and remains untouched) concerning all of the work I did. Therefore I do not want that the future team members use my code for the project if I don't get credit which I don't think will happen as I cannot control this if I finally leave. So simply communicating this will not help, as the situation in the team is in more of an anger state, split into two parties.
I did not sign any contract (non disclosure agreement/employment contract) which speaks even more for the independent style of this project, whether or not it's unprofessional.
Is it possible to secure or remove my work from further usage? If yes, how? I'm more or less asking for legal advice, just because I did not sign any contract. But I would be interested in solutions that involve other ways as well.
EDIT: I work in Germany, like my boss does. I did speak about non disclosure and payment with my boss, so you could count this as a verbal employment contract.