> For the complete documentation index, see [llms.txt](https://alanmpan.gitbook.io/git-learning/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://alanmpan.gitbook.io/git-learning/git/36.-chang-jian-wen-ti.md).

# 36.常见问题

## Git 和 git

Git 是指整个版本控制系统，以及它背后的概念和设计思想，而小写的git 代表使用 Git 功能所需要的命令，是用来与 Git 交互的。

## Git、GitHub、GitLab

Git 是分布式工具，不依赖于任何中央仓库。但实际上，我们很依赖 GitHub 或 GitLab 这样的外部仓库。这是为什么？

GitHub 和 GitLab 都是一个基于 Git 的代码托管平台。它们的存在大大简化了开发团队成员之间的数据交换，并提供了额外的备份和各种其他功能。例如文档管理、错误跟踪、协作工具等。平台还提供了大量的开源项目，包括各种语言和框架的开源软件、工具和应用程序。开发者可以通过 GitHub 和 GitLab 学习其他人的项目，并参与到开源社区中来，从而不断提升自己的技术水平和经验。这也是开源软件开发中的一种重要的合作和分享方式。GitHub 和 GitLab 无处不在，为开发者提供了全球范围内的代码托管和协作平台。它们为开发者提供了非常方便的代码管理和协作工具，促进了开源软件和开发者社区的快速发展和创新。现代 Web 界面也更容易进行项目管理，可以让我们轻松进入和管理 Git 仓库。


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter, and the optional `goal` query parameter:

```
GET https://alanmpan.gitbook.io/git-learning/git/36.-chang-jian-wen-ti.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
