This repository is a collection of Bash scripts created to demonstrate a full Git & GitHub workflow.
It showcases repository setup, branching strategies, issue tracking, pull requests, documentation, and release management.
- hello.sh → prints a greeting message
- backup.sh → creates a compressed backup of a directory
- disk_check.sh → displays disk space and memory usage
All scripts are written in pure Bash, portable across most Linux systems.
.
- scripts/ --- hello.sh # Prints "Hello, World!" --- backup.sh # Compresses a target folder into .tar.gz
- .gitignore
- LICENSE
- README.md
- Clone the repository
git clone https://github.com/Ahdams/Git-GitHub-Project-Workflow.git cd Git-GitHub-Project-Workflow
- Make scripts executable
chmod +x scripts/*.sh
- Run a script
./scripts/hello.sh ./scripts/backup.sh /path/to/folder
- hello.sh
./scripts/hello.sh Output: Hello, <username>! Welcome to Bash script
- backup.sh
./scripts/backup.sh /home/user/documents Output: Backup created: backup-2025-09-17.tar.gz
-
Fork this repository
-
Create a feature branch (git checkout -b feature-name)
-
Commit your changes (git commit -m "feat: add new script")
-
Push to the branch (git push origin feature-name)
-
Open a Pull Request
-
Improve error handling in backup.sh (e.g., invalid paths)
-
Add script scheduling (using cron jobs)
-
Write automated tests with GitHub Actions
You can read my reflection with screenshots here: REFLECTION.md
This project is licensed under the MIT License – see the LICENSE file for details.