The gem5 repository is directly accessible at https://gem5.googlesource.com/. This website provides browser access to history and changesets and the ability to "clone" (create your own copy of) the repository on your local machine. For more information on how to use git, please see https://git-scm.com/book.
To clone the master gem5 repository:
> git clone https://gem5.googlesource.com/public/gem5
There are a few repositories other than the main gem5 development repository.
* public/m5threads: The code for a pthreads implementation that works with gem5's syscall emulation mode.
The main method for contributing code to gem5 is via our code review website: https://gem5-review.googlesource.com/. More information can be found from the following sources: