DAY 5, 6 AND 7 OF JAVA FULL STACK LEARNING :

GIT :

-**Global Information Tracker[GIT].**
-Can recovery the program even the system is cracked.
-It is a open source – licence free.
-It is a Version Control System**[VCS]**.
-Used to track changes in source code during software developme…


This content originally appeared on DEV Community and was authored by Susan J

GIT :

  -**Global Information Tracker[GIT].**
  -Can recovery the program even the system is cracked.
  -It is a open source - licence free.
  -It is a Version Control System**[VCS]**.
  -Used to track changes in source code during software development.
  -Used by developers to maintain different version, collaborate, manage project history of code.

KEY CONCEPTS :

**REPOSITORY[Repo]:**A directory that contains your project and its version history.

**COMMIT:**A snapshot of your changes. You write a message to describe it.

**BRANCH:**A separate line of development.

**MERGE:**Combines changes from different branches.

**CLONE:**Copy a remote repository to your local machine.

**PULL:**Download and intergrate changes from a remote repo.

**PUSH:**Update your changes to a local repository.

BASIC GIT COMMANDS :

1.git init - Create a new Git

2.git clone - Copy the code

3.git status - Check the status

4.git add- To track

5.git add. - Track all file

6.git restore-stage - To untrack

7.git commit-m(Message) - Save changes

8.git push - Upload to remote

9.git pull- Download changes

10.git log - Check the history(see commit)

11.git branch - List branch

12.git checkout - Switch a branch

13.git merge - Merge a branch

USES:

- Track history.
- Allow collaboration.
- Supports branching and merging.
- Work offline.
- Open-source and fast.

GITLAB/GITHUB:

GITLAB:

**Owned by**: GitLab Inc. (open-core company)
**Best for**: DevOps teams, full CI/CD automation
**UI/UX**: Slightly more complex but powerful
**CI/CD**: Built-in GitLab CI/CD is very strong
**Self-hosting**: Easier to self-host (free Community Edition)
**Free Private Repos**: Yes

GITHUB:

**Owned by**: Microsoft
**Best for:**Open-source projects (biggest community)
**UI/UX**: More beginner-friendly
**CI/CD**: GitHub Actions (built-in)
**Integration**: Strong third-party integrations (VS Code, Azure, etc.)
**Free Private Repos**: Yes

WORKING OF GITLAB:

STEP-1:Install Gitlab.

STEP-2:Create new group.

  • +(create new group[Top left])
  • Create group name
  • Visiblity level(Public)
  • Who will use this group?
  • Submit

STEP-3:New project.

  • Create blank project
  • Create project name
  • Visiblity level(Public)
  • Create project

STEP-4:Add member.

  • Manage(Left middle)
  • Members
  • Invite members(Top right)
  • Username/name/email(Can add more than 2)
  • Select maximum role
  • Access expire date(Optional)
  • Invite

STEP-5:Clone code.

  • Extract code
  • Project
  • code(Top right)
  • Clone with SSH/HTTPS(Copy URL)
  • Save(Location[optional])
  • Open in terminal(Right click)
  • git clone(Paste the URL)
  • Enter (If"done" comes then it is clone)

STEP-6:Push code in gitlab.

  • Create a new project
  • git add/add.
  • git commit -m
  • git push


This content originally appeared on DEV Community and was authored by Susan J


Print Share Comment Cite Upload Translate Updates
APA

Susan J | Sciencx (2025-07-16T18:37:21+00:00) DAY 5, 6 AND 7 OF JAVA FULL STACK LEARNING :. Retrieved from https://www.scien.cx/2025/07/16/day-5-6-and-7-of-java-full-stack-learning/

MLA
" » DAY 5, 6 AND 7 OF JAVA FULL STACK LEARNING :." Susan J | Sciencx - Wednesday July 16, 2025, https://www.scien.cx/2025/07/16/day-5-6-and-7-of-java-full-stack-learning/
HARVARD
Susan J | Sciencx Wednesday July 16, 2025 » DAY 5, 6 AND 7 OF JAVA FULL STACK LEARNING :., viewed ,<https://www.scien.cx/2025/07/16/day-5-6-and-7-of-java-full-stack-learning/>
VANCOUVER
Susan J | Sciencx - » DAY 5, 6 AND 7 OF JAVA FULL STACK LEARNING :. [Internet]. [Accessed ]. Available from: https://www.scien.cx/2025/07/16/day-5-6-and-7-of-java-full-stack-learning/
CHICAGO
" » DAY 5, 6 AND 7 OF JAVA FULL STACK LEARNING :." Susan J | Sciencx - Accessed . https://www.scien.cx/2025/07/16/day-5-6-and-7-of-java-full-stack-learning/
IEEE
" » DAY 5, 6 AND 7 OF JAVA FULL STACK LEARNING :." Susan J | Sciencx [Online]. Available: https://www.scien.cx/2025/07/16/day-5-6-and-7-of-java-full-stack-learning/. [Accessed: ]
rf:citation
» DAY 5, 6 AND 7 OF JAVA FULL STACK LEARNING : | Susan J | Sciencx | https://www.scien.cx/2025/07/16/day-5-6-and-7-of-java-full-stack-learning/ |

Please log in to upload a file.




There are no updates yet.
Click the Upload button above to add an update.

You must be logged in to translate posts. Please log in or register.