Getting the code
To make changes to Servo or build servoshell yourself, clone the main repo with Git:
$ git clone https://github.com/servo/servo.git
$ cd servo
Servo’s repository is pretty big! If you have an unreliable network connection or limited disk space, consider making a shallow clone.
Once you’ve cloned the Servo source code, the next step is to install dependencies and build Servo.