Showing posts with label #VCS. Show all posts
Showing posts with label #VCS. Show all posts

30 November 2023

#GIT

#GIT
Level Subtopic Topics
Basic Introduction & Setup GitHub Overview, Account Setup, Repositories (Public/Private), GitHub Desktop, GitHub CLI
Git Basics Git vs GitHub, Git Init/Clone, Git Commit, Git Push/Pull, Git Branch
Repository Management Create/Delete Repo, README.md, License, .gitignore, Branch Protection (basic)
Collaboration Fork, Clone, Pull Requests (basic), Issues, Discussions
Intermediate Branching & Workflow GitHub Flow, Feature Branching, Merge Conflicts, Rebasing, Squash & Merge
Issues & Project Boards Labels, Milestones, Project Boards, Templates, Linking Commits to Issues
GitHub Actions (CI/CD Basics) Workflow Files (YAML), Triggers (push, pull_request), Marketplace Actions, Build & Test Automation
Code Reviews & Collaboration Pull Request Reviews, Code Owners, Draft PRs, Review Rules
Advanced Advanced GitHub Actions Matrix Builds, Secrets & Variables, Environments, Self-hosted Runners, Reusable Workflows
Security & Compliance Dependabot Alerts, Security Advisories, Code Scanning, Secret Scanning, Security Policies
Advanced Repository Mgmt Monorepos, Submodules, Git LFS, Branch Protection Rules (advanced), Merge Strategies
DevOps Integrations GitHub with Jenkins, GitHub with Kubernetes, GitHub Packages, Cloud CI/CD (AWS, Azure, GCP)
Expert Enterprise & Administration GitHub Enterprise Cloud/Server, Organization Mgmt, SSO/SAML, Audit Logs
Collaboration & Scaling InnerSource Practices, Managing Large Teams, GitHub Insights, CODEOWNERS Strategies
GitHub API & Automation REST API, GraphQL API, Webhooks, GitHub Apps, Custom Integrations
Security & Governance Policy-as-Code, Compliance Automation, Audit & Regulatory Controls, SOC2/GDPR Alignment

1. Git & GitHub Fundamentals

  1. What is the difference between Git and GitHub?
  2. How do you initialize a new Git repository locally?
  3. Explain the difference between git clone and git fork.
  4. What is the purpose of .gitignore?
  5. How do you check the current branch in Git?
  6. What is the difference between a local branch and a remote branch?
  7. How do you configure username and email in Git?
  8. Explain the difference between git fetch and git pull.
  9. What is the purpose of git rebase?
  10. When should you use git merge vs git rebase?
  11. What are Git tags and how do you create one?
  12. How do you resolve a merge conflict in GitHub?
  13. What is a detached HEAD state in Git?
  14. Explain fast-forward merge in Git.
  15. What is the purpose of git stash?
  16. How do you undo the last commit in Git?
  17. What is the difference between git reset and git revert?
  18. How do you delete a branch locally and remotely?
  19. What is Git LFS and when should you use it?
  20. How do you handle large repositories in GitHub?
  21. Explain the difference between GitHub Desktop and GitHub CLI.
  22. What is the purpose of .gitattributes file?
  23. How do you squash commits before merging a pull request?
  24. What are Git submodules and how are they used?
  25. What are common Git workflows used with GitHub (e.g., GitHub Flow)?

2. Repository Management & Collaboration

  1. How do you create a private repository in GitHub?
  2. What are branch protection rules in GitHub?
  3. How do you enforce code reviews before merging?
  4. What is the difference between a fork and a branch?
  5. How do you archive a GitHub repository?
  6. Explain how GitHub Discussions differ from Issues.
  7. How do you transfer a repository to another GitHub user?
  8. What is the significance of a README.md file?
  9. How do you add a license to a GitHub repository?
  10. What are GitHub templates (issue templates, PR templates)?
  11. How do you enforce commit message guidelines in GitHub?
  12. What is CODEOWNERS file and its purpose?
  13. How do you restrict who can merge into the main branch?
  14. What are GitHub Insights and how do you use them?
  15. How do you set up repository topics and labels?
  16. What is a GitHub organization and how does it differ from a user account?
  17. How do you create teams in GitHub organizations?
  18. What are GitHub repository secrets?
  19. How do you enable wiki pages in GitHub?
  20. How do you manage collaborators in a private repo?
  21. What is the difference between GitHub Free, Pro, and Enterprise plans?
  22. How do you use GitHub Pages for project documentation?
  23. What is the purpose of branch naming conventions?
  24. How do you enforce signing commits in GitHub?
  25. How do you migrate a repository from GitHub to another platform (e.g., GitLab)?

3. Pull Requests & Code Reviews

  1. What is a pull request in GitHub?
  2. How do you create a draft pull request?
  3. What is the difference between squash and merge, rebase and merge, merge commit?
  4. How do you link issues to pull requests?
  5. What are required status checks in GitHub?
  6. How do you request reviews from specific team members?
  7. What are review suggestions in GitHub PRs?
  8. What is the purpose of pull request templates?
  9. How do you enforce at least 2 approvals before merging?
  10. What are auto-merge options in GitHub?
  11. How do you enable ?merge queue? in GitHub?
  12. What are code review best practices in GitHub?
  13. How do you prevent PRs from being merged if checks fail?
  14. How do you handle stale pull requests?
  15. What are draft reviews and when are they used?
  16. How do you restrict merges based on CI/CD pipelines?
  17. What is a linear history requirement in GitHub PRs?
  18. How do you revert a merged pull request?
  19. What are signed commits and why are they important in PRs?
  20. How do you configure reviewers automatically with CODEOWNERS?
  21. What is a ?cherry-pick? merge strategy?
  22. How do you handle large PRs effectively?
  23. What is the role of GitHub bots in pull requests?
  24. How do you visualize changes in PRs (diffs)?
  25. How do you manage PR workflows in monorepos?

4. GitHub Actions (CI/CD)

  1. What is GitHub Actions and why is it used?
  2. How do you define a workflow in GitHub Actions?
  3. What are workflow triggers (push, pull_request, schedule)?
  4. What is the difference between jobs and steps in GitHub Actions?
  5. How do you pass secrets in GitHub Actions?
  6. What is the difference between environment variables and secrets?
  7. How do you use reusable workflows in GitHub Actions?
  8. What are GitHub-hosted runners vs self-hosted runners?
  9. How do you configure caching in GitHub Actions?
  10. What is a matrix build in GitHub Actions?
  11. How do you set up deployment environments in GitHub Actions?
  12. How do you trigger workflows from another workflow?
  13. What are artifacts in GitHub Actions?
  14. How do you use actions from GitHub Marketplace?
  15. How do you secure secrets in self-hosted runners?
  16. How do you optimize build times in GitHub Actions?
  17. What is concurrency control in GitHub Actions?
  18. How do you configure approval before deploying to production?
  19. What are workflow permissions in GitHub Actions?
  20. How do you test workflows locally before pushing?
  21. How do you manage secrets across multiple environments?
  22. What is the difference between workflow_dispatch and repository_dispatch?
  23. How do you schedule workflows using cron in GitHub Actions?
  24. How do you integrate GitHub Actions with Docker?
  25. What are security risks in GitHub Actions and how to mitigate them?

5. Security & Compliance

  1. What is Dependabot and how does it work?
  2. How do you enable Dependabot security updates?
  3. What are GitHub security advisories?
  4. What is secret scanning in GitHub?
  5. How does GitHub detect exposed credentials?
  6. What is code scanning in GitHub?
  7. How do you configure custom code scanning rules?
  8. What is the difference between public and private advisories?
  9. How do you enable 2FA for GitHub accounts?
  10. What is branch signing and how is it enforced?
  11. What are security policies in GitHub repositories?
  12. How do you manage vulnerability alerts in large organizations?
  13. What are GitHub Advanced Security features?
  14. How do you integrate third-party security tools with GitHub?
  15. How does GitHub handle CVEs?
  16. What are security best practices for managing tokens in GitHub?
  17. How do you audit activity in GitHub organizations?
  18. What are GitHub?s compliance certifications (SOC2, GDPR)?
  19. How do you manage permissions at the repository vs organization level?
  20. How do you revoke compromised tokens?
  21. What is the purpose of GitHub audit logs?
  22. How do you configure branch protection for security compliance?
  23. How do you restrict GitHub Actions to specific repositories?
  24. What is SAML SSO in GitHub Enterprise?
  25. How do you automate security checks in PRs?

6. GitHub API & Automation

  1. What is the difference between GitHub REST API and GraphQL API?
  2. How do you authenticate with GitHub API?
  3. What are GitHub Apps and how do they differ from OAuth Apps?
  4. How do you use webhooks in GitHub?
  5. How do you create a GitHub App for automation?
  6. What is the difference between GitHub API tokens and PATs (Personal Access Tokens)?
  7. How do you paginate API results in GitHub REST API?
  8. How do you query repository data with GraphQL API?
  9. How do you trigger CI/CD pipelines via GitHub API?
  10. How do you use GitHub API to manage issues?
  11. What is the difference between fine-grained tokens and classic PATs?
  12. How do you manage GitHub Actions workflows via API?
  13. How do you automate user provisioning in GitHub Enterprise?
  14. What is the purpose of webhook secrets?
  15. How do you use GitHub API to fetch pull request reviews?
  16. What are rate limits in GitHub API and how do you handle them?
  17. How do you secure GitHub webhooks?
  18. How do you integrate GitHub with Slack via webhooks?
  19. What is Octokit and how is it used with GitHub API?
  20. How do you use GitHub CLI with APIs?
  21. How do you generate release notes automatically using GitHub API?
  22. How do you migrate repositories using GitHub API?
  23. How do you automate adding collaborators to a repo using API?
  24. What are GraphQL connections and edges in GitHub API?
  25. How do you debug GitHub API calls effectively?

7. GitHub Enterprise & Administration

  1. What is GitHub Enterprise Cloud vs Enterprise Server?
  2. How do you set up SAML authentication in GitHub Enterprise?
  3. What is SCIM provisioning in GitHub Enterprise?
  4. How do you enforce policies across an entire GitHub organization?
  5. What is enterprise audit logging in GitHub?
  6. How do you integrate GitHub Enterprise with LDAP?
  7. What are enterprise-managed users (EMU) in GitHub?
  8. How do you configure IP allow lists in GitHub Enterprise?
  9. What is the purpose of GitHub Enterprise Insights?
  10. How do you configure role-based access control (RBAC) in GitHub Enterprise?
  11. How do you restrict third-party apps in GitHub Enterprise?
  12. How do you scale GitHub usage in large enterprises?
  13. What are GitHub Enterprise licensing models?
  14. How do you set up multiple organizations under one enterprise account?
  15. How do you monitor GitHub usage across the enterprise?
  16. What is the difference between enterprise audit logs and repository audit logs?
  17. How do you manage enterprise-wide security settings?
  18. How do you handle compliance in regulated industries (finance, healthcare) using GitHub Enterprise?
  19. How do you back up GitHub Enterprise Server?
  20. How do you upgrade GitHub Enterprise Server?
  21. What is the purpose of GitHub Enterprise Cloud?s SLA?
  22. How do you enable GitHub Connect across instances?
  23. What is GitHub?s enterprise support model?
  24. How do you integrate GitHub Enterprise with cloud providers (AWS, Azure, GCP)?
  25. What are the best practices for managing GitHub Enterprise organizations?

Most views on this month

Popular Posts