#Code2Hire Weekly Challenges These are the weekly challenges expected to be completed by each student.
##How to use this repo The following instructions cover how to work with this repo in Cloud 9.
###Setup project in Cloud 9 (only needs to be done once)
- Fork this repo by clicking fork on the top right hand corner of this page.
 - Open Cloud 9 and login with your GitHub account by clicking the icon that looks like a cat in the top right hand corner of the page
 - Select repository from the left side navigation
 - Choose clone to edit on the challenges repo
 - Enter the workspace name challenges and choose the PHP template
 - Open your new workspace and open a terminal window
 - Run 
git remote add completed-work https://github.com/Code2Hire/challenges-student-work.git - Run 
git remote add new-challenges git@github.com:Code2Hire/challenges.git - Create a working branch by running 
git checkout -b username(username should be first initial and last name e.g. eschwartz) 
###Instructions on how to work with repo day-to-day This instructions below cover how to work with this repo including how to pull in new challenges, save your work, and submit your completed work
When coding always make sure you are on your working branch
####Pulling in new challenges####
- Make sure you are on the master branch by typing 
git checkout masterfrom the terminal in Cloud 9 - Run 
git fetch new-challengesto pull down the updated challenges - Run 
git merge new-challenges/masterto merge the updated challenges into the repo associated with Cloud 9 - Checkout your working branch by running 
git checkout username(username should be first initial and last name e.g. eschwartz) - Merge the new challenges into your working branch by running 
git merge master 
####Working with and saving challenges#### When coding always make sure you are on your working branch
- Make sure your working branch is checked out by running 
git checkout username(username should be first initial and last name e.g. eschwartz) - To save the work you have done run 
git add .to add the files you have modified to your branch - Commit your work by running 
git commit -m “comment about work just completed” 
####Submit your completed challenges#### When submitting your challenges always make sure you are on your working branch
- Make sure your work is saved by following the instructions outline in the above Working with and saving challenges section
 - Run 
git push completed-work - You will be prompted for your GitHub username, enter it and hit enter
 - You will be promted for your GitHub password, enter it and hit enter
 
####OPTIONAL: Update your GitHub repository with your completed work####
- Run 
git checkout masterto checkout the master branch - Merge your working branch into the master branch using 
git merge username(username should be first initial and last name e.g. eschwartz) - Run 
git pushto push your work up to your repo on GitHub