# Fetch the latest changes from the remote git fetch # Switch to the main branch git checkout main # Pull the latest changes for the main branch git pull # Switch to the attendance branch git checkout attendance # Pull the latest changes for the attendance branch(skip if latest) git pull # Ensure you are on the attendance branch git checkout attendance # Merge the main branch into attendance git merge main