Git and git hub for beginners Flashcards

You may prefer our related Brainscape-certified flashcards:
1
Q

Directory is a

A

folder

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

the management of changes to documents computer programs, large website and other collections of information

A

version control

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

a project or a folder

A

repository

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

bring a repo that is hosteed somewhere else like github folder on your local machine

A

clone

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

track your files and save in git

A

add

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

save files in git

A

commit

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

upload git commits to a remote repo

A

push

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

download changes from remote repo to your local machine the opposite of push

A

pull

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
9
Q

…… 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.

A

SSH

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
10
Q

his is the command used to generate a new SSH key pair (a private and public key)

A

ssh-keygen

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
11
Q

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.

A

-t rsa

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
12
Q

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.

A

-b 4096

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
13
Q

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.

A

-C “email”

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
14
Q

rsa

A

an encryption algorithm

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
15
Q

-b 4096

A

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.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
16
Q

mkdir

A

make directory

17
Q

mv

A

move direnctory

18
Q

eval $(ssh-agent -s)

A

The command eval $(ssh-agent -s) initializes the ssh-agent and sets the necessary environment variables for the current shell session. The output Agent pid 249 confirms that the agent is running with PID 249.

19
Q

clip command

A

allows to copy

20
Q

git status command

A

all the files that are created and deleted

21
Q

git commit -m “A meesage” -m “some description”

A
22
Q

push a live to a remote repo where the project is hosted

A

git push

23
Q
A