# Git 托管服务 - GitHub

**URL:** <https://www.isharkfly.com/t/git-github/10782>\
**Category:** 敏捷开发\
**Tags:** git\
**Created:** [March 29, 2015, 1:03am UTC](https://www.isharkfly.com/t/git-github/10782 "2015-03-29T01:03:33Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![honeymoose](https://www.isharkfly.com/user_avatar/www.isharkfly.com/honeymoose/32/20796_2.png) [@honeymoose](https://www.isharkfly.com/u/honeymoose)\
**Post date:** [March 29, 2015, 1:03am UTC](https://www.isharkfly.com/t/git-github/10782/1 "2015-03-29T01:03:33Z")

</div>

GitHub 和大多数的代码托管站点在处理项目命名空间的方式上略有不同。GitHub 的设计更侧重于用户，而不是完全基于项目。也就是说，如果我在 GitHub 上托管一个名为 grit 的项目的话，[它的地址不会是github.com/grit，而是按在用户底下](http://xn--github-vp7iw5eiw4auey39b2i6a2m8b.com/grit%EF%BC%8C%E8%80%8C%E6%98%AF%E6%8C%89%E5%9C%A8%E7%94%A8%E6%88%B7%E5%BA%95%E4%B8%8B) [github.com/shacon/grit](http://github.com/shacon/grit) （译注：本书作者 Scott Chacon 在 GitHub 上的用户名是 shacon。）。

不存在所谓某个项目的官方版本，所以假如第一作者放弃了某个项目，它可以无缝转移到其它用户的名下。

GitHub 同时也是一个向使用私有仓库的用户收取费用的商业公司，但任何人都可以方便快捷地申请到一个免费账户，并在上面托管数量不限的开源项目。接下来我们快速介绍一下 GitHub 的基本使用。

首先注册一个免费账户。访问 “Plans and pricing” 页面 [https://github.com/pricing](https://github.com/pricing) 并点击 Free acount 里的 Sign Up 按钮（见图 4-2），进入注册页面。

![](https://www.isharkfly.com/images/transparent.png)

图 4-2. GitHub 服务简介页面

选择一个系统中尚未使用的用户名，提供一个与之相关联的电邮地址，并输入密码（见图 4-3）：

![](https://www.isharkfly.com/images/transparent.png)
