# Activity 4 

            ACTIVITY #4 Git Fundamentals 
                              Documentation

1. Check the Git Version
    

![](https://cdn.hashnode.com/res/hashnode/image/upload/v1724565901118/54fc8597-ab09-4d21-b66b-2320e40b8aef.png align="center")

2. Config Git
    

Here the commands:

git config --global [user.name](http://user.name/) "Github Username"

git config --global [user.email](http://user.email/) "[your.email@example.com](mailto:your.email@example.com)"

Already configured, I'll show you how to check user and email using this commands:

git config --global [user.name](http://user.name/)

git config --global [user.email](http://user.email/)

![](https://cdn.hashnode.com/res/hashnode/image/upload/v1724565915006/cf4c7934-58cd-43f2-a34e-9e71cc7a308c.png align="center")

3. Initiliaze Repository use the git command; (git init)
    

![](https://cdn.hashnode.com/res/hashnode/image/upload/v1724565965749/a361dfbd-e32c-426e-b9fe-5f99c5c0adcb.png align="center")

4. Add files to the Repository (git add .      
    

![](https://cdn.hashnode.com/res/hashnode/image/upload/v1724566027207/5dc1fe95-5ded-4df9-9eb4-79fbc8c62a36.png align="center")

5. Check Git Status (git status)
    

![](https://cdn.hashnode.com/res/hashnode/image/upload/v1724566058558/b7405b35-dac6-480c-a165-bc91091aeb39.png align="center")

6. **Commit Changes (**git commit -m "Initial commit")
    

![](https://cdn.hashnode.com/res/hashnode/image/upload/v1724566073917/1951ff4f-34e7-48f3-a4f0-739c56dc6f34.png align="center")

7. Git log
    

![](https://cdn.hashnode.com/res/hashnode/image/upload/v1724566127442/413f719f-4960-4eee-8469-ae4c2796f5e5.png align="center")
