As stated below, to make a change like this, you will need to contact the City and I seriously doubt that they will allow you to do this. Cities have very specific rules about converting a garage to any use other than it's intended use. No harm in trying, but I wouldn't hold my breath if I were you.
As far as my understanding it is not legal to have any cooking arrangement in Garage due to safety issue. That said, I have seen tons of properties with cooking furnaces installed in Garage. I would check with the city of Fremont before doing any construction.
If cooking in the garage is possible, it can only be legal if it is installed properly and with local city or county permits.
We have seen many homes burn due to things like this.