Main Git commands
git init: initialises a new Git repositorygit clone: copies an existing repositorygit add: adds changes to the staging areagit commit: commits (saves) changesgit push: pushes (uploads) changesgit pull: pulls (downloads) changesgit status: shows the status of the working directorygit diff: shows what changed, line by linegit log: shows the commit historygit branch: shows the branches in the repositorygit checkout: switches branches (newer Git also hasgit switch)

























