title
Git Bash Tutorial | Git Bash Basics | Git and GitHub Tutorial | DevOps Training | Edureka
description
🔥 Edureka DevOps Training (Use Code "𝐘𝐎𝐔𝐓𝐔𝐁𝐄𝟐𝟎"): https://www.edureka.co/devops-certification-training
This Edureka "Git Bash Tutorial" gives you a complete overview of what is Git Bash and its common commands. You will also Install Git Bash for Windows. The following topics are covered in the video:
00:00:00 Introduction
00:01:00 What is Bash?
00:04:15 What is GitBash?
00:05:39 How to Install GitBash for Windows
00:09:10 Common GitBash Commands
🔹Checkout Edureka's complete DevOps Tutorial playlist here: https://bit.ly/3iJoJIP
🔹Checkout Edureka's complete DevOps Tutorial Blog playlist here: https://bit.ly/3gfNuZr
--------------------------------------------------------------------------------------------
🔴Subscribe to our channel to get video updates. Hit the subscribe button above: https://goo.gl/6ohpTV
Twitter: https://twitter.com/edurekain
LinkedIn: https://www.linkedin.com/company/edureka
Instagram: https://www.instagram.com/edureka_learning/
Facebook: https://www.facebook.com/edurekaIN/
SlideShare: https://www.slideshare.net/EdurekaIN
Castbox: https://castbox.fm/networks/505?country=in
Meetup: https://www.meetup.com/edureka/
#Edureka #EdurekaDevOps #GitBashTutorial #GitAndGitHubTutorialForBeginners #DevOpsTraining #DevOpsTutorial #WhatisGitBash #EdurekaTraining #LearnDevOps
--------------------------------------------------------------------------------------------
How it Works?
1. This is a 4 Week Instructor-led Online Course.
2. Course consists of 24 hours of online classes, 25 hours of assignment, 20 hours of project
3. We have a 24x7 One-on-One LIVE Technical Support to help you with any problems you might face or any clarifications you may require during the course.
4. You will get Lifetime Access to the recordings in the LMS.
5. At the end of the training you will have to complete the project based on which we will provide you a Verifiable Certificate!
- - - - - - - - - - - - - -
About the Course
Edureka’s DevOps online training is designed to help you master key tools of Devops lifecycle like Docker, Puppet, Jenkins, Nagios, GIT, Ansible, SaltStack and Chef used by a DevOps Engineer for automating multiple steps in SDLC. During this course, our expert DevOps instructors will help you:
1. Understand the concepts and necessities of DevOps
2. Understand the need for DevOps and the day-to-day real-life problems it resolves
3. Learn installation and configuration of common infrastructure servers like Apache, and Nginx for the Enterprise
4. Learn popular DevOps tools like Jenkins, Puppet, Chef, Ansible, SaltStack, Nagios and GIT
5. Implement automated system update, installations and deployments
6. Learn Virtualization Concepts
7. Configuration deployment and packaging, continuous integration using GIT
8. Fine tune Performance and set-up basic Security for Infrastructure
9. Manage server operations using Code which is popularly known as Infrastructure as a Code
10. Understand the need for and concepts of Monitoring and Logging.
Along with the above mentioned topics, to help you master the most popular DevOps tools, you will also receive 3 additional self-paced courses including presentations, class recordings, assignments, solutions for the following tools:
1: Ansible - Covers Introduction, Setup & Configuration, Ansible Playbooks, 37 Ansible Modules, Different Roles and Command Line usage. 2: Chef - Covers Introduction, Building the Cook Book, Node Object & Search, Data-bags, Chef environment, Roles, Deploying Nodes in Production and using the Open Source Chef Server.
3: Puppet - Covers Puppet Infrastructure & run-cycle, the Puppet Language, Environment defining Nodes and Modules, Provisioning a Web Server and Executing Modules Against A Puppet Master.
- - - - - - - - - - - - - -
Who should go for this course?
DevOps practitioners are among the highest paid IT professionals today, and the market demand for them is growing rapidly. With emergence of new job roles around DevOps philosophy, anyone aspiring to get into these new roles, can take up this DevOps course. Some of these roles are:
1. DevOps Architect
2. Automation Engineer
3. Software Tester
4. Security Engineer
5. Integration Specialist
6. Release Manager
- - - - - - - - - - - - - -
Project Work
1. Host a dummy webpage using Apache Web Server.
2. Write shell script which reports:
a) Various system configurations related to the user and the OS.
b) Data related to load on the server.
c) Top 5 processes with maximum number of threads.
d) Sort the services by memory
3. Install Nagios on a VM node for monitoring the various parameters of the VM.
For more information, please write back to us at sales@edureka.in or call us at IND: 9606058406 / US: 18338555775 (toll-free).
detail
{'title': 'Git Bash Tutorial | Git Bash Basics | Git and GitHub Tutorial | DevOps Training | Edureka', 'heatmap': [{'end': 694.098, 'start': 657.643, 'weight': 0.774}, {'end': 1342.092, 'start': 1263.826, 'weight': 0.815}, {'end': 1436.544, 'start': 1381.147, 'weight': 0.847}], 'summary': 'Tutorial covers git bash basics, installation on windows, managing directories and repositories, initializing git repository, understanding git status command, and github collaboration and repository setup.', 'chapters': [{'end': 51.567, 'segs': [{'end': 51.567, 'src': 'embed', 'start': 7.631, 'weight': 0, 'content': [{'end': 15.615, 'text': 'Git Bash is an application for Microsoft Windows environments, which provides an emulation layer for a Git command line experience.', 'start': 7.631, 'duration': 7.984}, {'end': 16.636, 'text': 'Hi everyone.', 'start': 16.036, 'duration': 0.6}, {'end': 21.358, 'text': "This is Kavya from Eduveka and welcome to today's session on the Git Bash tutorial.", 'start': 16.676, 'duration': 4.682}, {'end': 23.86, 'text': "Now before we begin, I'd like to address the agenda.", 'start': 21.659, 'duration': 2.201}, {'end': 29.303, 'text': 'Firstly, we will understand what is Bash then we will move on and understand what is Git Bash.', 'start': 24.16, 'duration': 5.143}, {'end': 33.964, 'text': 'after which we will learn how to install git bash for windows.', 'start': 30.083, 'duration': 3.881}, {'end': 40.745, 'text': 'then we will conclude this session by executing some of the most common git bash commands and learn git bash hands-on.', 'start': 33.964, 'duration': 6.781}, {'end': 43.325, 'text': 'i hope the agenda is clear for this session.', 'start': 40.745, 'duration': 2.58}, {'end': 51.567, 'text': 'also, kindly take up this time to subscribe to us and do not forget to hit that bell icon to never miss an update from the edureka youtube channel.', 'start': 43.325, 'duration': 8.242}], 'summary': 'Git bash provides a git command line experience for windows. agenda includes understanding bash, installing git bash, and learning common git bash commands.', 'duration': 43.936, 'max_score': 7.631, 'thumbnail': 'https://coursnap.oss-ap-southeast-1.aliyuncs.com/video-capture/iGutIN5t9Mo/pics/iGutIN5t9Mo7631.jpg'}], 'start': 7.631, 'title': 'Git bash tutorial', 'summary': 'Introduces git bash for windows, covering understanding bash, git bash, installation process for windows, and executing common git bash commands.', 'chapters': [{'end': 51.567, 'start': 7.631, 'title': 'Git bash tutorial', 'summary': 'Introduces git bash, an application for windows that provides a git command line experience, and outlines the agenda covering understanding bash, git bash, installation process for windows, and executing common git bash commands.', 'duration': 43.936, 'highlights': ['The chapter introduces Git Bash, an application for Microsoft Windows environments, which provides an emulation layer for a Git command line experience.', 'The session agenda includes understanding Bash, Git Bash, installing Git Bash for Windows, and executing common Git Bash commands.', 'The instructor emphasizes subscribing and enabling notifications for updates from the Edureka YouTube channel.']}], 'duration': 43.936, 'thumbnail': 'https://coursnap.oss-ap-southeast-1.aliyuncs.com/video-capture/iGutIN5t9Mo/pics/iGutIN5t9Mo7631.jpg', 'highlights': ['The chapter introduces Git Bash, an application for Microsoft Windows environments, which provides an emulation layer for a Git command line experience.', 'The session agenda includes understanding Bash, Git Bash, installing Git Bash for Windows, and executing common Git Bash commands.']}, {'end': 499.615, 'segs': [{'end': 176.555, 'src': 'embed', 'start': 152.027, 'weight': 0, 'content': [{'end': 160.669, 'text': 'Bash also known as a born-again shell is an implementation of shell which allows you to efficiently perform many tasks.', 'start': 152.027, 'duration': 8.642}, {'end': 162.93, 'text': 'Let me explain bash with an example.', 'start': 161.169, 'duration': 1.761}, {'end': 168.372, 'text': 'You can use bash to perform operations on multiple files quickly via the command line.', 'start': 163.29, 'duration': 5.082}, {'end': 173.273, 'text': 'You can also write and execute scripts in bash just like you do in R or Python.', 'start': 168.752, 'duration': 4.521}, {'end': 176.555, 'text': 'that can be executed across different operating systems.', 'start': 173.553, 'duration': 3.002}], 'summary': 'Bash, a born-again shell, enables efficient file operations and cross-platform script execution.', 'duration': 24.528, 'max_score': 152.027, 'thumbnail': 'https://coursnap.oss-ap-southeast-1.aliyuncs.com/video-capture/iGutIN5t9Mo/pics/iGutIN5t9Mo152027.jpg'}, {'end': 239.55, 'src': 'embed', 'start': 213.55, 'weight': 3, 'content': [{'end': 220.575, 'text': 'Now working in the terminal with bash provides you with the ability to easily navigate your computer to access and manage files and folders.', 'start': 213.55, 'duration': 7.025}, {'end': 223.738, 'text': "That is you can easily navigate your computer's directories.", 'start': 220.836, 'duration': 2.902}, {'end': 229.042, 'text': 'You can also quickly and efficiently work with many files and directories at once.', 'start': 224.158, 'duration': 4.884}, {'end': 235.167, 'text': 'Also, you can run programs that provide more functionality at the command line like for example git.', 'start': 229.683, 'duration': 5.484}, {'end': 239.55, 'text': 'You can also launch programs from specific directories on your computer.', 'start': 235.667, 'duration': 3.883}], 'summary': 'Bash terminal allows easy navigation, file management, and program execution.', 'duration': 26, 'max_score': 213.55, 'thumbnail': 'https://coursnap.oss-ap-southeast-1.aliyuncs.com/video-capture/iGutIN5t9Mo/pics/iGutIN5t9Mo213550.jpg'}, {'end': 288.312, 'src': 'embed', 'start': 258.815, 'weight': 2, 'content': [{'end': 264.478, 'text': 'Git Bash is simply an application that provides Git command line experience on the operating system.', 'start': 258.815, 'duration': 5.663}, {'end': 269.461, 'text': 'The operating system can be anything as usual like Linux, Windows, Mac, etc.', 'start': 264.838, 'duration': 4.623}, {'end': 274.464, 'text': 'Now it is a command line shell for enabling Git with the command line in the system.', 'start': 269.921, 'duration': 4.543}, {'end': 280.527, 'text': 'A shell is a terminal application used to interface with an operating system through written commands.', 'start': 274.904, 'duration': 5.623}, {'end': 288.312, 'text': 'git bash is a package that installs bash some common bash utilities and git on a Windows operating system.', 'start': 281.007, 'duration': 7.305}], 'summary': 'Git bash provides git command line experience on various operating systems.', 'duration': 29.497, 'max_score': 258.815, 'thumbnail': 'https://coursnap.oss-ap-southeast-1.aliyuncs.com/video-capture/iGutIN5t9Mo/pics/iGutIN5t9Mo258815.jpg'}, {'end': 330.672, 'src': 'embed', 'start': 305.763, 'weight': 1, 'content': [{'end': 312.926, 'text': 'It is basically designed for coordinating work among programmers but can also be used to track changes in any set of files.', 'start': 305.763, 'duration': 7.163}, {'end': 319.728, 'text': 'So basically its goal is to increase efficiency, speed and easily manage large projects through version controlling.', 'start': 313.406, 'duration': 6.322}, {'end': 327.231, 'text': 'Every git working directory is a full-fledged repository with complete history and full version tracking capabilities,', 'start': 320.228, 'duration': 7.003}, {'end': 330.672, 'text': 'independent of network access or a central server.', 'start': 327.231, 'duration': 3.441}], 'summary': 'Git aims to increase efficiency, speed, and manageability for large projects through version controlling.', 'duration': 24.909, 'max_score': 305.763, 'thumbnail': 'https://coursnap.oss-ap-southeast-1.aliyuncs.com/video-capture/iGutIN5t9Mo/pics/iGutIN5t9Mo305763.jpg'}, {'end': 375.183, 'src': 'embed', 'start': 347.916, 'weight': 4, 'content': [{'end': 353.057, 'text': "I'm just going to Google Git Bash for Windows and I'm going to click on the first link.", 'start': 347.916, 'duration': 5.141}, {'end': 360.499, 'text': "This will redirect me to the Git's official website where I can download Git and I'm going to click on Windows option here.", 'start': 353.817, 'duration': 6.682}, {'end': 368.682, 'text': 'So once you click on the download link for Windows, it will download the executable file.', 'start': 362.754, 'duration': 5.928}, {'end': 375.183, 'text': 'Now that it has installed we can extract and launch the git installer.', 'start': 369.921, 'duration': 5.262}], 'summary': "Download and install git for windows from git's official website.", 'duration': 27.267, 'max_score': 347.916, 'thumbnail': 'https://coursnap.oss-ap-southeast-1.aliyuncs.com/video-capture/iGutIN5t9Mo/pics/iGutIN5t9Mo347916.jpg'}], 'start': 51.567, 'title': 'Bash, git, and git bash installation', 'summary': 'Covers the significance and functionality of bash, its compatibility with different operating systems, and the role of git bash and git in version control. it also explains the process of installing git bash for windows, including configuration options for efficient usage.', 'chapters': [{'end': 327.231, 'start': 51.567, 'title': 'Understanding bash and git', 'summary': 'Explains the significance and functionality of bash, emphasizing its efficiency in performing tasks and its compatibility with different operating systems. it also introduces git bash and git, highlighting their role in version control and tracking changes in source code for software development.', 'duration': 275.664, 'highlights': ['Bash allows for efficient task performance and automation across various operating systems, enhancing the range of accomplishable tasks with the computer. Bash enables efficient task performance and automation across different operating systems.', 'Using Bash in the terminal provides the ability to easily navigate and manage files and folders, offering quick and efficient work with multiple files and directories at once. Bash in the terminal enables easy navigation, management, and efficient work with files and directories.', 'Git Bash is an application providing Git command line experience on various operating systems, facilitating interaction with repositories and Git elements through commands. Git Bash offers a command line experience for interacting with Git elements and repositories.', 'Git is a version control system designed to track changes in source code, aimed at increasing efficiency, speed, and managing large projects through version controlling. Git is a version control system enhancing efficiency and enabling effective management of large projects.']}, {'end': 499.615, 'start': 327.231, 'title': 'Installing git bash for windows', 'summary': 'Demonstrates the process of installing git bash for windows, including downloading, installing, and configuring options, such as the text editor and terminal emulator, for efficient usage.', 'duration': 172.384, 'highlights': ['The chapter demonstrates the process of installing Git Bash for Windows, including downloading, installing, and configuring options, such as the text editor and terminal emulator, for efficient usage.', 'Git helps the team cope up with the confusion that really tends to happen when multiple people are editing the same files.', "Git Bash is installed by downloading the executable file from Git's official website and then launching the git installer.", 'The installation process involves reviewing the GNU general public license, selecting installation location and components, creating a start menu folder, and choosing a text editor.', 'Users can also configure options such as the path environment, server certificates, line endings, terminal emulator, credential helper, and file system caching during the installation.']}], 'duration': 448.048, 'thumbnail': 'https://coursnap.oss-ap-southeast-1.aliyuncs.com/video-capture/iGutIN5t9Mo/pics/iGutIN5t9Mo51567.jpg', 'highlights': ['Bash enables efficient task performance and automation across different operating systems.', 'Git is a version control system enhancing efficiency and enabling effective management of large projects.', 'Git Bash offers a command line experience for interacting with Git elements and repositories.', 'Bash in the terminal enables easy navigation, management, and efficient work with files and directories.', 'The chapter demonstrates the process of installing Git Bash for Windows, including downloading, installing, and configuring options.']}, {'end': 897.024, 'segs': [{'end': 579.92, 'src': 'embed', 'start': 500.015, 'weight': 0, 'content': [{'end': 503.717, 'text': "Unless you're feeling adventurous leave them unchecked and then just click install.", 'start': 500.015, 'duration': 3.702}, {'end': 516.523, 'text': 'Now once the installation is complete tick the boxes to view the release notes or launch git bash then just click finish.', 'start': 508.979, 'duration': 7.544}, {'end': 522.054, 'text': 'And as you can see get has launched the release notes.', 'start': 519.875, 'duration': 2.179}, {'end': 527.376, 'text': "I'm just going to open this you can just read the release notes.", 'start': 522.554, 'duration': 4.822}, {'end': 531.157, 'text': "I'm just going to close that window now get has two modes of use.", 'start': 527.416, 'duration': 3.741}, {'end': 537.418, 'text': 'Okay The first one is a bash scripting shell or you could say the command line and a graphical user interface.', 'start': 531.477, 'duration': 5.941}, {'end': 541.319, 'text': 'Now in this tutorial, we are going to be using the bash scripting shell.', 'start': 537.798, 'duration': 3.521}, {'end': 544.239, 'text': 'That is our command line now to launch get bash shell.', 'start': 541.339, 'duration': 2.9}, {'end': 547.82, 'text': 'You can just open your Windows start menu and type get bash.', 'start': 544.259, 'duration': 3.561}, {'end': 553.769, 'text': 'Okay, and this will take you to your git bash.', 'start': 549.983, 'duration': 3.786}, {'end': 555.091, 'text': "I'm just going to zoom in.", 'start': 554.149, 'duration': 0.942}, {'end': 556.292, 'text': 'Yes, perfect.', 'start': 555.331, 'duration': 0.961}, {'end': 565.626, 'text': "Now if you'd want to create new directories that is just folders in git, you can just use the mkdir command.", 'start': 557.414, 'duration': 8.212}, {'end': 570.777, 'text': "Now, I'm just going to create a new directory named git underscore demo.", 'start': 566.656, 'duration': 4.121}, {'end': 579.92, 'text': "Now I can change the location to the newly created directory by using the command cd and type the name of the directory that I'd like to move in.", 'start': 571.578, 'duration': 8.342}], 'summary': 'Tutorial on using git bash and basic commands for creating directories and navigating through them.', 'duration': 79.905, 'max_score': 500.015, 'thumbnail': 'https://coursnap.oss-ap-southeast-1.aliyuncs.com/video-capture/iGutIN5t9Mo/pics/iGutIN5t9Mo500015.jpg'}, {'end': 694.098, 'src': 'heatmap', 'start': 657.643, 'weight': 0.774, 'content': [{'end': 663.028, 'text': "but i'm going to refer this to email and i'm just going to type in my email.", 'start': 657.643, 'duration': 5.385}, {'end': 666.029, 'text': 'Okay, once that is done,', 'start': 664.448, 'duration': 1.581}, {'end': 674.291, 'text': "I have set up both my username and email now, let's move on to the next part of the session and learn how to initialize a local repository.", 'start': 666.049, 'duration': 8.242}, {'end': 678.373, 'text': "Okay So now what I'm going to do is I will clear my screen.", 'start': 674.932, 'duration': 3.441}, {'end': 685.195, 'text': "Now what we've really done is we have set our git username for every repository on our computer.", 'start': 679.153, 'duration': 6.042}, {'end': 691.017, 'text': 'And once that is done, I just want to check if the username has been set.', 'start': 686.215, 'duration': 4.802}, {'end': 694.098, 'text': "I'm just going to use this command.", 'start': 692.597, 'duration': 1.501}], 'summary': 'Setting up git username and email, initializing local repository, and checking username setup.', 'duration': 36.455, 'max_score': 657.643, 'thumbnail': 'https://coursnap.oss-ap-southeast-1.aliyuncs.com/video-capture/iGutIN5t9Mo/pics/iGutIN5t9Mo657643.jpg'}, {'end': 877.147, 'src': 'embed', 'start': 852.796, 'weight': 3, 'content': [{'end': 860.619, 'text': "you can obviously use the git help command and it will just give you an overview of what is in git and if it's up and running.", 'start': 852.796, 'duration': 7.823}, {'end': 863.58, 'text': 'Now we will just move into the directory git demo.', 'start': 861.319, 'duration': 2.261}, {'end': 868.762, 'text': "So I'm just going to use the change directory command and this will just move me to my git demo directory.", 'start': 864.1, 'duration': 4.662}, {'end': 874.024, 'text': 'Now I will tell my git to create a repository.', 'start': 869.302, 'duration': 4.722}, {'end': 877.147, 'text': "Okay, for all of y'all who don't know what a repository is,", 'start': 874.384, 'duration': 2.763}], 'summary': 'Using git commands to set up and create a repository in the git demo directory.', 'duration': 24.351, 'max_score': 852.796, 'thumbnail': 'https://coursnap.oss-ap-southeast-1.aliyuncs.com/video-capture/iGutIN5t9Mo/pics/iGutIN5t9Mo852796.jpg'}], 'start': 500.015, 'title': 'Using git bash for managing directories and repositories', 'summary': 'Covers the installation process of git bash, including launching the release notes and accessing the bash scripting shell through the windows start menu, highlighting its two modes of use. it also demonstrates creating, navigating, and setting up user details within directories using git bash, including commands like mkdir, cd, ls, git config, and initializing a local repository, providing practical examples and explanations of each step.', 'chapters': [{'end': 556.292, 'start': 500.015, 'title': 'Installing and using git bash', 'summary': 'Covers the installation process of git bash, including launching the release notes and accessing the bash scripting shell through the windows start menu, highlighting its two modes of use: bash scripting shell and graphical user interface.', 'duration': 56.277, 'highlights': ['Git Bash has two modes of use: bash scripting shell and graphical user interface.', "To launch Git Bash shell, open the Windows start menu and type 'git bash'.", 'The installation process involves checking boxes to view release notes and launch Git Bash after completion.', 'Instructions for launching Git Bash include checking boxes to view release notes and launch the application after installation.']}, {'end': 897.024, 'start': 557.414, 'title': 'Using git bash for managing directories and repositories', 'summary': 'Demonstrates creating, navigating, and setting up user details within directories using git bash, including commands like mkdir, cd, ls, git config, and initializing a local repository, providing practical examples and explanations of each step.', 'duration': 339.61, 'highlights': ['Creating and navigating directories using commands like mkdir and cd and listing files using the ls command. The chapter demonstrates using commands like mkdir, cd, and ls to create, navigate, and list files within directories, providing practical examples of each command.', 'Setting up user details using the git config command for username and email in Git Bash. The chapter provides a step-by-step guide on setting up user details like username and email using the git config command in Git Bash.', 'Explanation of basic Git Bash commands like whoami, pwd, and ls with practical examples and their functionalities. The chapter explains basic Git Bash commands like whoami, pwd, and ls, providing practical examples and functionalities of each command.', 'Demonstrating the creation and explanation of a local repository in Git Bash for version control. The chapter provides a detailed demonstration and explanation of creating a local repository in Git Bash, emphasizing its role in version control and file storage.']}], 'duration': 397.009, 'thumbnail': 'https://coursnap.oss-ap-southeast-1.aliyuncs.com/video-capture/iGutIN5t9Mo/pics/iGutIN5t9Mo500015.jpg', 'highlights': ['Git Bash has two modes of use: bash scripting shell and graphical user interface.', 'The installation process involves checking boxes to view release notes and launch Git Bash after completion.', 'Instructions for launching Git Bash include checking boxes to view release notes and launch the application after installation.', 'Demonstrating the creation and explanation of a local repository in Git Bash for version control.', 'Creating and navigating directories using commands like mkdir and cd and listing files using the ls command.']}, {'end': 1139.909, 'segs': [{'end': 978.612, 'src': 'embed', 'start': 922.681, 'weight': 0, 'content': [{'end': 931.467, 'text': 'so the master branch is the main branch of your repository, where all of the changes to your project is directly implemented.', 'start': 922.681, 'duration': 8.786}, {'end': 937.932, 'text': "okay, so branches is completely a different topic on its own, so we'll not really talk about it in detail.", 'start': 931.467, 'duration': 6.465}, {'end': 941.379, 'text': "So I'd like to talk a little bit about the init command.", 'start': 938.813, 'duration': 2.566}, {'end': 949.777, 'text': 'So the initialization command really creates a hidden directory and you can see that it has created a hidden directory that is named as .', 'start': 941.7, 'duration': 8.077}, {'end': 950.638, 'text': 'git Okay.', 'start': 949.777, 'duration': 0.861}, {'end': 954.261, 'text': 'Now git really stores information about the project in the special .', 'start': 951.038, 'duration': 3.223}, {'end': 955.102, 'text': 'git subdirectory.', 'start': 954.261, 'duration': 0.841}, {'end': 961.187, 'text': "Now if we delete this file even by mistake what really happens is we lose the entire project's history.", 'start': 955.462, 'duration': 5.725}, {'end': 965.271, 'text': "Okay So the next command that we'll be learning about is the git status command.", 'start': 961.568, 'duration': 3.703}, {'end': 971.236, 'text': "I'm just going to click enter and you can see that it says on branchmaster no commits yet nothing to commit.", 'start': 965.291, 'duration': 5.945}, {'end': 978.612, 'text': "Okay Now, first of all, this gives a lot of information, right? It states that firstly we're located on the master branch.", 'start': 971.597, 'duration': 7.015}], 'summary': 'The master branch is the main branch of the repository, and the git status command provides important information.', 'duration': 55.931, 'max_score': 922.681, 'thumbnail': 'https://coursnap.oss-ap-southeast-1.aliyuncs.com/video-capture/iGutIN5t9Mo/pics/iGutIN5t9Mo922681.jpg'}, {'end': 1146.575, 'src': 'embed', 'start': 1118.74, 'weight': 2, 'content': [{'end': 1124.584, 'text': 'you commit the changes using git commit, which permanently saves the current version of that repository.', 'start': 1118.74, 'duration': 5.844}, {'end': 1128.908, 'text': 'So these are the major three steps you create new folders and files,', 'start': 1125.345, 'duration': 3.563}, {'end': 1133.212, 'text': 'you stage them by using the git add command and then you finally commit this changes.', 'start': 1128.908, 'duration': 4.304}, {'end': 1138.808, 'text': "So now that we know the basic commands of git, let's move on to the next part of the session.", 'start': 1134.164, 'duration': 4.644}, {'end': 1139.909, 'text': "I'm going to clear my screen.", 'start': 1138.828, 'duration': 1.081}, {'end': 1146.575, 'text': 'So version control really comes into its own when we begin to collaborate with other people, right?', 'start': 1140.63, 'duration': 5.945}], 'summary': 'Git involves creating, staging, and committing changes; important for collaboration.', 'duration': 27.835, 'max_score': 1118.74, 'thumbnail': 'https://coursnap.oss-ap-southeast-1.aliyuncs.com/video-capture/iGutIN5t9Mo/pics/iGutIN5t9Mo1118740.jpg'}], 'start': 897.024, 'title': 'Initializing git repository and understanding git status command', 'summary': "Covers initializing a git repository using 'git init', explaining the master branch, and emphasizes preserving project history. it also explains the 'git status' command, tracking changes, and the significance of 'git add' and 'git commit'.", 'chapters': [{'end': 961.187, 'start': 897.024, 'title': 'Initializing git repository and branches', 'summary': "Covers the process of initializing a git repository using 'git init' command, explaining the purpose of the master branch and the consequences of deleting the .git directory, emphasizing the importance of preserving project history.", 'duration': 64.163, 'highlights': ["The 'git init' command initializes an empty Git repository, creating a .git directory to store project information and history.", 'The master branch is the main branch for implementing changes to the project.', "Deleting the .git directory results in the loss of the entire project's history."]}, {'end': 1139.909, 'start': 961.568, 'title': 'Understanding git status command', 'summary': "Explains the git status command, highlighting the process of checking the status, creating and committing files in a git repository, and the significance of the commands 'git add' and 'git commit' in tracking changes, with specific examples and outcomes.", 'duration': 178.341, 'highlights': ["The chapter explains the process of checking the status, creating, and committing files in a git repository. It provides an overview of the git status command and demonstrates the process of creating a new file, staging it using 'git add', and committing changes using 'git commit'.", "The significance of the commands 'git add' and 'git commit' in tracking changes with specific examples and outcomes. It emphasizes the importance of 'git add' and 'git commit' commands in tracking changes, including demonstrating the process of staging changes and successfully committing them with a specific message.", "The explanation of the 'git status' command and its outcome indicating the status of the git repository. It provides a detailed explanation of the outcome of the 'git status' command, including the indication of branch name, the presence of uncommitted changes, and the cleanliness of the working tree."]}], 'duration': 242.885, 'thumbnail': 'https://coursnap.oss-ap-southeast-1.aliyuncs.com/video-capture/iGutIN5t9Mo/pics/iGutIN5t9Mo897024.jpg', 'highlights': ["The 'git init' command initializes an empty Git repository, creating a .git directory to store project information and history.", "The explanation of the 'git status' command and its outcome indicating the status of the git repository. It provides a detailed explanation of the outcome of the 'git status' command, including the indication of branch name, the presence of uncommitted changes, and the cleanliness of the working tree.", "The significance of the commands 'git add' and 'git commit' in tracking changes with specific examples and outcomes. It emphasizes the importance of 'git add' and 'git commit' commands in tracking changes, including demonstrating the process of staging changes and successfully committing them with a specific message.", 'The master branch is the main branch for implementing changes to the project.', "Deleting the .git directory results in the loss of the entire project's history.", "The chapter explains the process of checking the status, creating, and committing files in a git repository. It provides an overview of the git status command and demonstrates the process of creating a new file, staging it using 'git add', and committing changes using 'git commit.'"]}, {'end': 1493.629, 'segs': [{'end': 1165.597, 'src': 'embed', 'start': 1140.63, 'weight': 0, 'content': [{'end': 1146.575, 'text': 'So version control really comes into its own when we begin to collaborate with other people, right?', 'start': 1140.63, 'duration': 5.945}, {'end': 1154.743, 'text': "In practice, groups like to use a central hub or a cloud stored on the web rather than on somebody's laptop,", 'start': 1146.895, 'duration': 7.848}, {'end': 1158.146, 'text': 'so that all the collaborators can easily access the repository.', 'start': 1154.743, 'duration': 3.403}, {'end': 1165.597, 'text': 'Git is very popular because of websites like GitHub Bitbucket which make collaboration extremely easy.', 'start': 1158.726, 'duration': 6.871}], 'summary': 'Version control facilitates collaboration, with git and platforms like github making it easy for groups to access and collaborate on repositories.', 'duration': 24.967, 'max_score': 1140.63, 'thumbnail': 'https://coursnap.oss-ap-southeast-1.aliyuncs.com/video-capture/iGutIN5t9Mo/pics/iGutIN5t9Mo1140630.jpg'}, {'end': 1253.577, 'src': 'embed', 'start': 1229.049, 'weight': 2, 'content': [{'end': 1236.612, 'text': "So the one that we created on Bash is a local repository that is solely for your local machine that you're working on.", 'start': 1229.049, 'duration': 7.563}, {'end': 1241.773, 'text': "but the repository that we're going to create on GitHub is on a central repository.", 'start': 1237.032, 'duration': 4.741}, {'end': 1245.335, 'text': 'So when you create this repository, the team members, your friends,', 'start': 1242.074, 'duration': 3.261}, {'end': 1253.577, 'text': 'your family can really look into this repository and look at all the files and folders that are present on your GitHub repository.', 'start': 1245.335, 'duration': 8.242}], 'summary': 'Local bash repository vs. github central repository for sharing with team/friends/family.', 'duration': 24.528, 'max_score': 1229.049, 'thumbnail': 'https://coursnap.oss-ap-southeast-1.aliyuncs.com/video-capture/iGutIN5t9Mo/pics/iGutIN5t9Mo1229049.jpg'}, {'end': 1342.092, 'src': 'heatmap', 'start': 1263.826, 'weight': 0.815, 'content': [{'end': 1268.273, 'text': "also, I'm just going to add a readme file and then I will create repository.", 'start': 1263.826, 'duration': 4.447}, {'end': 1278.183, 'text': "Now once this is done, I'm just going to click on this green button that says code and this will give me an HTTPS link.", 'start': 1270.239, 'duration': 7.944}, {'end': 1280.103, 'text': "I'm just going to copy this link.", 'start': 1278.643, 'duration': 1.46}, {'end': 1284.185, 'text': "What we're really going to do is we're going to connect both of these repositories.", 'start': 1280.544, 'duration': 3.641}, {'end': 1289.508, 'text': 'We can do this by making the GitHub repository a remote for the local repository.', 'start': 1284.626, 'duration': 4.882}, {'end': 1296.61, 'text': "Okay, Now the home page of the repository on GitHub includes the string we need to identify it, which we've already copied now,", 'start': 1289.548, 'duration': 7.062}, {'end': 1299.631, 'text': 'since we have already created a repository on a local computer.', 'start': 1296.61, 'duration': 3.021}, {'end': 1303.993, 'text': "We're interested in the instructions in the second box.", 'start': 1299.931, 'duration': 4.062}, {'end': 1319.038, 'text': "So we're making sure we are in the demo directory locally and we're going to do this by using the command git remote set dash URL origin and we're going to paste the HTTPS URL that we've copied from GitHub.", 'start': 1304.753, 'duration': 14.285}, {'end': 1323.36, 'text': 'So we click this code and then we copy this HTTPS link.', 'start': 1319.818, 'duration': 3.542}, {'end': 1324.921, 'text': "So that's exactly what we're going to do.", 'start': 1323.6, 'duration': 1.321}, {'end': 1326.662, 'text': "We're just going to add that and click enter.", 'start': 1324.941, 'duration': 1.721}, {'end': 1333.527, 'text': 'So what really this command does is it tells get to add a remote named origin at this particular URL fine.', 'start': 1327.043, 'duration': 6.484}, {'end': 1335.208, 'text': 'I hope this is clear now.', 'start': 1333.967, 'duration': 1.241}, {'end': 1338.189, 'text': 'You must be wondering what is the keyword origin? Okay.', 'start': 1335.248, 'duration': 2.941}, {'end': 1342.092, 'text': 'So this is simply a nickname that we have assigned to the particular remote repository.', 'start': 1338.55, 'duration': 3.542}], 'summary': 'Connecting local and github repositories by adding remote named origin with https link.', 'duration': 78.266, 'max_score': 1263.826, 'thumbnail': 'https://coursnap.oss-ap-southeast-1.aliyuncs.com/video-capture/iGutIN5t9Mo/pics/iGutIN5t9Mo1263826.jpg'}, {'end': 1436.544, 'src': 'heatmap', 'start': 1381.147, 'weight': 0.847, 'content': [{'end': 1388.232, 'text': 'I want to add my demo.txt file that is present on my local repository into my remote repository.', 'start': 1381.147, 'duration': 7.085}, {'end': 1395.398, 'text': "That's what we're going to do and we can do this by you know, pushing the changes from our local repository to the repository on GitHub.", 'start': 1388.272, 'duration': 7.126}, {'end': 1405.742, 'text': 'We can use the command git push origin master and this will pop up a window which will allow me to connect to github.', 'start': 1395.818, 'duration': 9.924}, {'end': 1413.164, 'text': 'okay, you can either connect to github with the help of a personal access token or you can also sign in with your browser.', 'start': 1405.742, 'duration': 7.422}, {'end': 1415.804, 'text': "i'm just going to sign in with my browser.", 'start': 1413.164, 'duration': 2.64}, {'end': 1421.306, 'text': 'you can see that you can just authorize git credential manager.', 'start': 1415.804, 'duration': 5.502}, {'end': 1427.257, 'text': 'the authentication has succeeded, So now our local and remote repositories are synced.', 'start': 1421.306, 'duration': 5.951}, {'end': 1428.378, 'text': "So that's great.", 'start': 1427.637, 'duration': 0.741}, {'end': 1436.544, 'text': 'Now you can just view that the files have been reflected into our remote repository and if I click on the master branch,', 'start': 1428.778, 'duration': 7.766}], 'summary': 'Add demo.txt from local repository to remote repository using git push origin master.', 'duration': 55.397, 'max_score': 1381.147, 'thumbnail': 'https://coursnap.oss-ap-southeast-1.aliyuncs.com/video-capture/iGutIN5t9Mo/pics/iGutIN5t9Mo1381147.jpg'}], 'start': 1140.63, 'title': 'Github collaboration and repository setup', 'summary': 'Covers collaborating on github, creating a remote repository, linking it to a local repository, and syncing changes, resulting in reflected files in both repositories.', 'chapters': [{'end': 1493.629, 'start': 1140.63, 'title': 'Github collaboration and repository setup', 'summary': 'Explains the process of collaborating on github, including creating a remote repository, linking it to a local repository, and pushing changes, resulting in synced local and remote repositories with files reflected.', 'duration': 352.999, 'highlights': ['The process of collaborating on GitHub involves creating a remote repository, linking it to a local repository, and pushing changes, resulting in synced local and remote repositories. The chapter details the steps to create a remote repository on GitHub, establish a link with a local repository, and push changes to achieve synchronization between the local and remote repositories.', 'The use of Git and GitHub makes collaboration easy, with popular websites like GitHub and Bitbucket facilitating collaboration. Git and GitHub are popular for collaboration, with websites like GitHub and Bitbucket making it extremely easy to collaborate with other team members.', 'The demonstration includes creating a new repository on GitHub, explaining the difference between local and central repositories, and connecting the two repositories. The demonstration covers creating a new repository on GitHub, highlighting the distinction between local and central repositories, and guiding the process of connecting them.']}], 'duration': 352.999, 'thumbnail': 'https://coursnap.oss-ap-southeast-1.aliyuncs.com/video-capture/iGutIN5t9Mo/pics/iGutIN5t9Mo1140630.jpg', 'highlights': ['The process of collaborating on GitHub involves creating a remote repository, linking it to a local repository, and pushing changes, resulting in synced local and remote repositories.', 'The use of Git and GitHub makes collaboration easy, with popular websites like GitHub and Bitbucket facilitating collaboration.', 'The demonstration includes creating a new repository on GitHub, explaining the difference between local and central repositories, and connecting the two repositories.']}], 'highlights': ['The process of collaborating on GitHub involves creating a remote repository, linking it to a local repository, and pushing changes, resulting in synced local and remote repositories.', 'The use of Git and GitHub makes collaboration easy, with popular websites like GitHub and Bitbucket facilitating collaboration.', "The chapter explains the process of checking the status, creating, and committing files in a git repository. It provides an overview of the git status command and demonstrates the process of creating a new file, staging it using 'git add', and committing changes using 'git commit.'", "The explanation of the 'git status' command and its outcome indicating the status of the git repository. It provides a detailed explanation of the outcome of the 'git status' command, including the indication of branch name, the presence of uncommitted changes, and the cleanliness of the working tree.", "The 'git init' command initializes an empty Git repository, creating a .git directory to store project information and history."]}