https://notion-ga.astrocket.vercel.app/collect?tid=UA-171288301-1&host=notion.so&page=/apption/Google-Analytics-756bc3708826415484bc409035d29dc1

What is Git?

<aside> 🗃️ Free and open source version control system.

</aside>

What is Version Control?

<aside> 💾 The management of changes to documents, computer programs, large websites, and other collections of information.

</aside>

What is GitHub?

<aside> 🌐 A website to host your repositories online.

</aside>

Repository?

<aside> 📦 Project, or the folder/place where your project is kept.

</aside>

<aside> 📦 A project's repository contains all of the project's files and stores each file's revision history.

</aside>

Source: Git & GitHub Tutorial for Beginners playlist

Source: Git & GitHub Tutorial for Beginners playlist

<aside> 📁 The 'My Project' folder in the picture is the repository on the local machine which is tracked by Git.

</aside>

<aside> 📁 The .git folder inside the 'My Project' folder confirms that the folder is a repository.

</aside>

<aside> 📁 Because the .git folder is at the root level, Git is going to track any changes in the folder, including changes to the subfolder.

</aside>

<aside> 📁 If the .git folder was in the 'img' folder and not at the root level, then Git would've only tracked changes to the 'img' folder. So, only the 'img' folder would've been the repository.

</aside>

<aside> 🔍 Git tracks the content of the project folder/repository for us.

</aside>


Source: Git & GitHub Tutorial for Beginners playlist

Source: Git & GitHub Tutorial for Beginners playlist

<aside> 📁 After any changes to a file is made, it is in the 'Modified' stage. Such files are modified files.

</aside>

<aside> 📁 If we want to save the modified file to the repo/include it in the commit, then we add the file to the 'Staging' area.

</aside>