====== Git Create and Clone ====== There are two ways to create a new online repository in GitHub((https://help.github.com/)): * Create online and clone to PC * Create on PC and push to git The first approach is simpler as it requires less work and commands to accomplish a working repository. ===== Create online and clone ===== * Create a new((https://github.com/new)) repository on GitHub * Add a readme * Add a license * Add a gitignore * Click the green "Clone or Download" button and copy the new Git URL. * Open a [[help:developer_tools:command|command prompt]] on the PC with the git installed and in the path * Change to the directory where the repository should be cloned into * Issue the git command 'git clone ""' where is the the link copied in the step above. ===== Create on PC and push ===== [[https://help.github.com/articles/adding-an-existing-project-to-github-using-the-command-line/]]