Git and git hub for beginners Flashcards
Directory is a
folder
the management of changes to documents computer programs, large website and other collections of information
version control
a project or a folder
repository
bring a repo that is hosteed somewhere else like github folder on your local machine
clone
track your files and save in git
add
save files in git
commit
upload git commits to a remote repo
push
download changes from remote repo to your local machine the opposite of push
pull
…… is a protocol that allows you to securely connect to a remote server or computer. It uses cryptographic keys for authentication, and one common use of SSH is to securely access Git repositories, like those hosted on GitHub.
SSH
his is the command used to generate a new SSH key pair (a private and public key)
ssh-keygen
The -….. flag specifies the type of key to create.
rsa refers to the RSA algorithm, one of the most widely used encryption algorithms. RSA keys are commonly used for SSH.
-t rsa
The -b flag specifies the number of bits in the key.
4096 means the key is 4096 bits long, making it very secure. The higher the number, the more secure the key is, but it also requires more computational power.
-b 4096
The -C flag allows you to add a comment to the key.
“your_email@example.com” is often used as the comment so you can identify the key later. It’s common to use your email address associated with your GitHub or another platform account.
-C “email”
rsa
an encryption algorithm
-b 4096
The -b flag specifies the number of bits in the key.
4096 means the key is 4096 bits long, making it very secure. The higher the number, the more secure the key is, but it also requires more computational power.