
上QQ阅读APP看书,第一时间看更新
Creating an account with GitHub and using Git to create a repository
As we described earlier, repositories are a place to manage and share your project code. Git allows you to create public or private repositories. Public repositories are open for everybody, but you can include a license file that explains how you want the project to be shared with others.
Follow these steps to create a repository on GitHub:
- Open a web browser, go to https://github.com/, and sign up for a new account by providing a username for your account and your email and password. You can skip this step if you already have an account on GitHub:

- Once the signup is done, go to https://github.com/login and sign in to your newly created account on GitHub:

- Once signed in, in the upper-right corner of the page, click + and then click New repository, as shown in the following screenshot:

- On the next screen, give a name for your repository and optionally add a description. Also, check Initialize this repository with a README and then click on the Create repository button:

It was that simple to create a new repository for your project, where you can now push your code and manage and share it with other people in the team.