Hi maya, welcome and thanks for your question. Osteofos is the generic version of Fosamax in some countries. I'm not familiar with that particular manufacturer version, but the active ingredients in it should be the same as the brand name (Fosamax/Alendronate). Sometimes the generic versions will have slightly different inactive ingredients, but the active ingredient should be the same.
If your insurance will allow you to choose the brand name version over the generic equivalent, then it would be up to you which you want to use.
Sorry to hear about your fracture and I hope that it heals real soon. Good luck!!