Lazarus hasn’t any integrated code version tool implemented.
I like git and uses github for my projects.
So I installed git-gui from the software center.
After that I went to Tools -> Configure external tools in lazarus, and added the folowing:
After that I can simply commit and push my changes by selecting git in the tools menu.