- Go to the freeCodeCamp repository on GitHub: https://github.com/freeCodeCamp/freeCodeCamp
- Click the "Fork" Button in the upper right hand corner of the interface.
- After the repository has been forked, you will be taken to your copy of the freeCodeCamp at
https://github.com/YOUR_USER_NAME/freeCodeCamp
- Go to your projects directory (e.g.
~/projects/
) - Run the following command to clone locally:
- Clone into default directory
freeCodeCamp
(e.g.~/projects/freeCodeCamp
):git clone https://github.com/YOUR_USER_NAME/freeCodeCamp.git
- Clone into custom directory
DIRNAME
(e.g.~/projects/DIRNAME
)git clone https://github.com/YOUR_USER_NAME/freeCodeCamp.git DIRNAME
- Clone into default directory
- Enter project directory
cd freeCodeCamp
ORcd DIRNAME
- Added
upstream
as to your remote repositories:git remote add upstream https://github.com/freeCodeCamp/freeCodeCamp.git
- Validate upstream was added properly:
git remote -v
should output something like
origin https://github.com/YOUR_USER_NAME/freeCodeCamp.git (fetch) origin https://github.com/YOUR_USER_NAME/freeCodeCamp.git (push) upstream https://github.com/freeCodeCamp/freeCodeCamp.git (fetch) upstream https://github.com/freeCodeCamp/freeCodeCamp.git (push)