What to Do After Installing Git (Beginner Guide)
Step 1: Clone Your GitHub Repository
Use this command to copy your GitHub project to your computer:
git clone https://github.com/Gulnaz-tech/cloud.demo.git
This creates a folder called 'cloud.demo' with your project files.
Step 2: Move Into the Project Folder
Use the terminal to go inside the cloned project folder:
cd cloud.demo
Step 3: Make Changes to Your Files
Open the folder in VS Code or any text editor.
Example: Edit README.md or add a new file like test.txt.
Step 4: Stage and Commit Your Changes
Run the following commands to track and save your changes:
git status # Check what's changed
git add . # Stage all changes
git commit -m "Your message" # Save the changes with a message
Step 5: Push Changes to GitHub
What to Do After Installing Git (Beginner Guide)
To upload your committed changes to GitHub, use:
git push origin main
Now your updated files will appear on GitHub.
Git Flow Summary
1. git clone <url> # Copy the repository
2. cd foldername # Navigate inside
3. git status # Check changes
4. git add . # Stage changes
5. git commit -m "msg" # Commit changes
6. git push origin main # Push to GitHub
Next Steps (Cloud Integration)
- Connect this repo to AWS CodePipeline or GitHub Actions
- Use it to deploy a static website to S3 or a function to Lambda
- Store Terraform, Docker, or Kubernetes files