Experiment 4
Experiment 4
Aim:
To configure version control for a web application using Git commands and operations, and to
integrate the repository with GitHub for collaborative development and version management.
2. Enter your email, username, and password, then verify your account.
1. Open your computer's file system and create a folder (e.g., MyProject).
2. Inside the folder, create a file (e.g., example.txt). Add some text to the file.
3. git init
4. git status
1. Copy the HTTPS URL of your GitHub repository (from the GitHub page).
Expected Output:
1. File Uploaded: The file (example.txt) will appear in your GitHub repository.
2. GitHub Repository Status: The repository will display the committed changes along
with the message ("Initial commit").
3. Git Logs: Use the following command to check the commit history:
4. git log
This simple format ensures easy setup and integration of Git with GitHub for version control.