How to clone latest release?

I want to clone the gramps repository onto my computer, make a few minor changes to the code, and install it.

I did it yesterday and everything worked fine, but it appears to be a different version than the latest (6.0.8). In the bottom right corner of the screen appears in red 6.0.0, but I think I have the 6.1 beta instead, because there is a FamilySearch icon in the bottom left corner.

I think that I cloned the wrong branch, so my question is, how to clone a specific version of the source code (6.0.8 in this case), and be able to eventually update it (for example, if a 6.0.9 is released), mantaining the changes I made to the code?

(I use Ubuntu 24.04)

Any help is welcome!

I suggest that you read our Brief introduction to Git.

You clone the repository with:

git clone git@github.com:gramps-project/gramps.git Gramps

This gives you all versions with the default branch being master which is the current development version. You can checkout another branch with:

git checkout v6.0.8