So expressing regret did not work, it rarely does and is widely considered a sign of weakness. Perhaps it have worked better to double down on your offensive positions, strengthen them, draw in deranged allies. (\s, maybe)
Or find an employer that does not require github which is like 99% of employers.
Apparently your username is a Portuguese psychological term that means self-reflection, that is cool. But maybe expand outside that.