Remove strings from beans; cut beans into 1-inch pieces and wash. Set aside.
Sauté garlic in hot oil until tender; remove and discard. Add green pepper and onion to hot oil, and sauté about 3 minutes over low heat or until tender. Add salt, basil, sugar, water, and beans. Cover and cook over low heat for 15 minutes or until beans are tender. Sprinkle with cheese.