Notice: This page requires JavaScript to function properly.
Please enable JavaScript in your browser settings or update your browser.
学ぶ What is GitHub? | Section
Version Control with Git

bookWhat is GitHub?

メニューを表示するにはスワイプしてください

Imagine you have a scrapbook where you collect all your favorite photos and drawings. You might want to show this scrapbook to your friends, or even let them add their own pictures. GitHub is a website that works a lot like a public scrapbook, but instead of photos, you store your code and projects. When you put your project on GitHub, you can easily share it with others, show off your work, and even invite people to help you make it better. It’s a place where your code lives online, safe and easy to find.

# To connect your local project to a GitHub repository, use:
git remote add origin https://github.com/your-username/your-repo.git

When you connect your project to GitHub, it’s like linking your personal photo album to the internet so anyone you choose can see it. First, you tell git where your online album (the GitHub repository) is located using a special address. This step is important because it sets up a direct line between your computer and the online scrapbook, making it possible to send your work to GitHub for others to see.

# To upload your project to GitHub for the first time, use:
git push -u origin main

1. What is GitHub most like?

2. Why connect your project to GitHub?

question mark

What is GitHub most like?

正しい答えを選んでください

question mark

Why connect your project to GitHub?

正しい答えを選んでください

すべて明確でしたか?

どのように改善できますか?

フィードバックありがとうございます!

セクション 1.  9

AIに質問する

expand

AIに質問する

ChatGPT

何でも質問するか、提案された質問の1つを試してチャットを始めてください

セクション 1.  9
some-alt