You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
1. Why is it necessary to have git add in the workflow?
It is necessary to have git add to add files to the staging area before committing them.
2. What is the purpose of describing changes in the commit command?
It is to describe the version or to explain why the commit was necessary. Commits are a checkpoint that describes the status of the project in the timeline.
3. What does the green and red color coded line mean when you issue git diff?
It shows the differences between the past and present version of the file.
4. Under what circumstances will you use branching in a software development project?
To maintain stability of the file while isolated changes are made in the file, like bug fixes.