Git & Github Guide
Q1. Install Git
Ans.
1. Go to : git-scm.com
2. Download Git for your system (Windows / Mac / Linux)
3. Install it (keep clicking “Next” on Windows, default settings are fine)
To check it worked, open a terminal (on Windows, open Git Bash) and type:
git --version
Q2. Choosing the defualt editor used by git
Ans.
Use Visual Studio Code as default editor.
Q3. Adjusting the name of the initial branch in new repositories
Ans.
Override the default branch name for new repositories.
Naam main rakho.
Isse naye repositories ki default branch main hogi.
Q4. Adjusting PATH Environment
Ans.
Git from the command line and also from 3rd-party software.
Ye important hai, kyunki tum Git ko CMD, PowerShell aur VS Code terminal mein use kar sakoge.
Q5. choosing the SSH executable
Ans.
Use bundled OpenSSH.
GitHub se SSH connection set up karna easy rahega.
Alag se SSH install karne ki zaroorat nahi.
Git ke saath compatible executable milta hai.
Q6. Choosing HTTPS Transport Backend
Ans.
Use the OpenSSL library
Q7. Configuration the Line Ending Conversions
Ans.
Checkout Windows-style, commit Unix-style line endings.
Windows par development aur GitHub/Linux servers ke saath kaam karne ke liye ye generally achha option hai.
Q8. Configuring the terminal emulator to use with Git Bash
Ans.
Use MinTTY (the default terminal of MSYS2)
Q9. Choose the default behavior of 'git pull'
Ans.
Merge
Q10. Choose the Credential Helper
Ans.
Git Credential Manager
Q11. Configuration Extra Options
Ans.
Enable file system caching