From the course: Programming Foundations: Version Control with Git
Unlock the full course today
Join today to access over 24,700 courses taught by industry experts.
HTTPS vs. SSH - Git Tutorial
From the course: Programming Foundations: Version Control with Git
HTTPS vs. SSH
- [Instructor] In this course, we'll learn how to use Git repositories locally on our computers and remotely on a Git hosting server. To connect the local repository to the remote repository and keep them in sync, there are two common methods for communicating with the Git hosting server: SSH or HTTPS. SSH provides better security compared to HTTPS. It uses public-key cryptography, which enhances authentication security. Once you've set up the SSH keys, you won't need to enter your credentials every time you interact with the remote repository. This makes the process more streamlined. However, setting up and managing SSH keys may be more complex for users who are not familiar with public key cryptography. Also, in some network environments, firewalls might restrict SSH communication, causing connection issues for users. When using HTTPS, it's generally easier to set up, which makes it a good choice for beginners or for those who prefer a simpler setup. For authentication, you usually…
Practice while you learn with exercise files
Download the files the instructor uses to teach the course. Follow along and learn by watching, listening and practicing.
Contents
-
-
-
-
(Locked)
Using command line1m 17s
-
(Locked)
Command-line basics6m 3s
-
(Locked)
Configuring Git settings2m 46s
-
(Locked)
HTTPS vs. SSH4m 16s
-
(Locked)
Setting up a local repository4m 18s
-
(Locked)
Managing version history with Git add and commit2m 36s
-
(Locked)
Exercise: Creating project files4m 56s
-
(Locked)
Exercise: Git add and Git commit3m 47s
-
(Locked)
Creating a remote repository2m 13s
-
(Locked)
Syncing with git push and pull5m 50s
-
(Locked)
Deleting a repository3m 7s
-
(Locked)
Cloning a remote repo4m 26s
-
(Locked)
Challenge: Putting it all together1m 43s
-
(Locked)
Solution: Putting it all together6m 19s
-
(Locked)
-
-