Basics of the Terminal

You often see the term "Terminal" in GitHub explanations. This is not the name of an app or software, but rather refers to a screen (tool) for issuing commands directly to the computer. Imagine entering white text on a black background.
️ Terminal = "The window for entering commands"
Shell = The program running in that window
bash or zsh = Types of shells
In short, the "Terminal" is the entrance screen, and things like "bash" are the engines running inside it.
The Role of the Terminal
What you can doEnter and execute Git commands (e.g., git clone, git commit, git push)
Build and run programs
File and folder operations (create, move, delete, etc.)
Automated processing and script execution
Analogy: "Terminal = Telephone handset." You convey commands to the OS through the handset (terminal).
The Relationship Between Terminal and GitHub
GitHub is a remote source code management service. By using the terminal, you can interact with GitHub as follows:
git clone <URL>: Copy a repository from GitHub to your PC
git add .: Add changed files
git commit -m "message": Record changes
git push origin main: Upload changes to GitHub
These can also be done via GUI (button operations), but the advantage of using the terminal is that you can perform operations quickly and with more precision.
Commonly used terminal environments ️
Windows: PowerShell, Command Prompt, Git Bash
macOS: Terminal (standard app), iTerm2, etc.
Linux: Standard terminal
Especially when learning GitHub, Git Bash (Windows) and macOS/Linux standard terminal are commonly used.
Actual usage scenarios on GitHub ️
Example: The process of cloning a repository# GitHub上のプロジェクトを取得 git clone https://github.com/ユーザー名/リポジトリ名.git cd リポジトリ名 ファイルを編集したあと git add . git commit -m "初めてのコミット" git push origin main
This entire sequence of operations is performed from the terminal.
Key points for beginners to remember ✨
"Terminal = A place to enter commands on a black screen"
GitHub operations (clone, commit, push) are basically executed from the terminal
For Windows, "Git Bash" is fine; for macOS/Linux, the "standard terminal" is fine
At first, it is enough to just copy and paste commands
Summary
The terminal is an operation screen for entering GitHub and Git commands
The shell (bash, etc.) is the engine running inside it
Beginners can just understand it as "Terminal = A window to talk to GitHub"
Once you get used to it, your work efficiency will increase dramatically, so please give it a try!
*This article was created based on responses from ChatGPT.