How change my development version?

I used the

git clone git@github.com:Graylog2/graylog-project.git

command, and, at the time, it downloaded the development server in version 3.2.0-SNAPSHOT4.

How can I change it to a previous version, like 3.1.0, for example? Do I need to download it again and recompile it from scratch?

did you used the CLI tool?

the help command should show how to change the versions.