Skip to content
Snippets Groups Projects
Unverified Commit 6f795cd6 authored by Amy Qualls's avatar Amy Qualls Committed by GitLab
Browse files

Merge branch 'bl-update-getting-started-parent-page' into 'master'

Update Getting started parent page

See merge request https://gitlab.com/gitlab-org/gitlab/-/merge_requests/169464



Merged-by: default avatarAmy Qualls <aqualls@gitlab.com>
Approved-by: default avatarAmy Qualls <aqualls@gitlab.com>
Reviewed-by: default avatarAmy Qualls <aqualls@gitlab.com>
Co-authored-by: default avatarBrendan Lynch <blynch@gitlab.com>
parents 1e5f7374 afc72d34
No related branches found
No related tags found
No related merge requests found
Loading
Loading
@@ -21,7 +21,7 @@ Learning Git is part of a larger workflow:
 
A Git repository is essentially a directory that contains all the files,
folders, and version history of a project.
It serves as a central hub where you can store, manage, and share your code or content.
It serves as a central hub to store, manage, and share your code.
 
When you initialize a Git repository or clone an existing one, Git
creates a hidden directory called `.git` in the project directory.
Loading
Loading
@@ -83,7 +83,15 @@ For more information, see:
- [Tutorial: Make your first Git commit](../../tutorials/make_first_git_commit/index.md)
- [Forks](../../user/project/repository/forking_workflow.md)
 
## Step 4: Familiarize yourself with Git commands
## Step 4: Install Git
Before you start using Git commands and contributing to GitLab projects, you must download
and install the Git client on your computer. The installation process varies depending on
your operating system.
For information on how to install Git, see [Install Git](how_to_install_git/index.md).
## Step 5: Familiarize yourself with Git commands
 
To work with Git from the command line, you need to use various Git commands.
Some of the most commonly used commands include:
Loading
Loading
@@ -96,13 +104,30 @@ Some of the most commonly used commands include:
- `git push`: Push local commits to the remote repository
- `git pull`: Fetch changes from the remote repository and merge them into your local branch
 
For more information, see:
For more comprehensive information and detailed explanations,
see [Command Git commands](commands.md) guide.
<!--- Use this section when the [Generate an SSH key pair](../user/ssh.md) page is added to the navigation
 
- [Command line Git](commands.md)
### Use SSH with Git
 
## Step 5: Practice using Git
When you work with remote repositories, you should use SSH for secure communication.
GitLab uses the SSH protocol to securely communicate with Git.
When you use SSH keys to authenticate to the GitLab remote server,
you don't need to supply your username and password each time.
To learn how to generate and add SSH keys to your GitLab account,
see [Generate an SSH key pair](../user/ssh.md).
-->
## Step 6: Practice using Git
 
The best way to learn Git is by using it in practice. Create a test project,
experiment with different commands, and try out various workflows.
GitLab provides a web-based interface for many Git operations,
but it's also useful to understand how to use Git from the command line.
but it is also used to understand how to use Git from the command line.
For a hands-on approach to learning Git commands, see the [Tutorial: Make your first Git commit](../../tutorials/make_first_git_commit/index.md).
For other helpful resources, see [Tutorials: Learn Git](../../tutorials/learn_git.md).
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment