Garrison just marks units on your army creation screen. It makes it so you know what units to leave or what to take out of your city. Garrisoned units will have a shield on their icon when creating an army.